apply ASLR options #1 11/148411/1 accepted/tizen_4.0_base tizen_4.0_base tizen_4.0_tv accepted/tizen/4.0/base/20170915.205130 submit/tizen_4.0_base/20170908.014210 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 16 Aug 2017 05:53:44 +0000 (14:53 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Fri, 8 Sep 2017 01:41:15 +0000 (10:41 +0900)
[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>
packaging/tar.spec

index 812ceecb22252ab1683c3777ba3590961f41a567..85aef81b45c548cbdbef371972dbe6682b83693e 100644 (file)
@@ -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}