diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-08-16 14:53:44 +0900 |
---|---|---|
committer | MyoungJune Park <mj2004.park@samsung.com> | 2017-09-08 10:41:15 +0900 |
commit | ac11054d2693b37bd83c70259a55016b67189e0b (patch) | |
tree | 29926941142ec0c0de155519259e87bbaad21b0e | |
parent | 96492f8353e127bf9ffe70713b98eadc6fad3442 (diff) | |
download | tar-accepted/tizen_4.0_base.tar.gz tar-accepted/tizen_4.0_base.tar.bz2 tar-accepted/tizen_4.0_base.zip |
apply ASLR options #1tizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_4.0_base/20170908.014210accepted/tizen/4.0/base/20170915.205130tizen_4.0_tvtizen_4.0_baseaccepted/tizen_4.0_base
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method] N/A
[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A
Change-Id: I83738a402eda887af07d118939215294c1b3b150
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r-- | packaging/tar.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/tar.spec b/packaging/tar.spec index 812ceec..85aef81 100644 --- a/packaging/tar.spec +++ b/packaging/tar.spec @@ -37,9 +37,13 @@ cp %{SOURCE1001} . # gl_cv_func_linkat_follow="yes" \ # --disable-silent-rules \ # --disable-nls + +CFLAGS+=" -fPIE" +LDFLAGS+=" -pie" + %configure --disable-static \ --disable-nls -make %{?_smp_mflags} CFLAGS=" -fPIE" LDFLAGS=" -pie" +make %{?_smp_mflags} %check %if %{run_tests} |