From: DongHun Kwak Date: Wed, 16 Aug 2017 02:28:15 +0000 (+0900) Subject: apply ASLR options #1 X-Git-Tag: submit/tizen_base/20170816.081247^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=096b6a10a53c50ea84d94a65cd7eca623f3c30a8;p=product%2Fupstream%2Fgawk.git apply ASLR options #1 [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: Ic76c8e58e6d944a2948d82cc0fd63e2135563ce2 Signed-off-by: DongHun Kwak --- diff --git a/packaging/gawk.spec b/packaging/gawk.spec index 82a6df3..71ec14b 100644 --- a/packaging/gawk.spec +++ b/packaging/gawk.spec @@ -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}