enable ASLR(Address Space Layout Randomization) 02/235702/1 accepted/tizen/unified/20200609.153446 submit/tizen/20200609.070000
authorSung-Jin Park <sj76.park@samsung.com>
Tue, 9 Jun 2020 04:20:47 +0000 (13:20 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 9 Jun 2020 04:34:03 +0000 (13:34 +0900)
Change-Id: Id3a7ee840142a1c55b3b13233c4a44e2734c3c7b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
packaging/pepper.spec

index 29569fc..0aaa721 100644 (file)
@@ -275,6 +275,8 @@ This package includes samples files.
 cp %{SOURCE1001} .
 
 %build
+export CFLAGS+=" -fPIE "
+export LDFLAGS+=" -pie "
 %autogen \
        --disable-x11 \
 %if "%{ENABLE_DRM}" == "0"