apply ASLR options #1 62/147462/1 accepted/tizen_4.0_base tizen_4.0_base tizen_4.0_tv accepted/tizen/4.0/base/20170908.223344 submit/tizen_4.0_base/20170904.110100 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 02:28:15 +0000 (11:28 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Mon, 4 Sep 2017 11:00:21 +0000 (20:00 +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: I2f12b8df03fc3eb13d615de3f0e259c8428ce585
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/gawk.spec

index 82a6df3c1759e4cd4c1c3b882b6547a2c3bf0435..71ec14b89f9b331fbdf5d6c3c8fc2dcf483b384d 100644 (file)
@@ -32,11 +32,13 @@ considered to be a standard Linux tool for processing text.
 cp %{SOURCE1001} .
 
 %build
+CFLAGS+=" -fPIE"
+LDFLAGS+=" -pie"
 %configure \
         --disable-man \
         --disable-nls
 
-make %{?_smp_mflags} CFLAGS=" -fPIE" LDFLAGS=" -pie"
+make %{?_smp_mflags}
 
 %check
 %if %{run_tests}