Revert "Enable Armoring Feature - Add pie option" 86/175886/1
authorSoonKyu Park <sk7.park@samsung.com>
Fri, 13 Apr 2018 06:14:20 +0000 (15:14 +0900)
committerSoonKyu Park <sk7.park@samsung.com>
Fri, 13 Apr 2018 06:15:26 +0000 (15:15 +0900)
This reverts commit 079d890dfd09f5c175d05387c05bfdd7e47c66b4.

It results in build failure on x86_64 architecture

Change-Id: I81ffe5e19ad252c27549f3f3c2ccfd16dceed6a6

packaging/rpm.spec

index 4d5dc74..9e05967 100644 (file)
@@ -145,8 +145,8 @@ rm -f m4/lt*.m4
 %build
 CPPFLAGS="$CPPFLAGS `pkg-config --cflags nss`"
 export CPPFLAGS
-export CFLAGS="%{optflags} -ffunction-sections -fPIE"
-export LDFLAGS="${LDFLAGS} -pie -Wl,-Bsymbolic-functions -ffunction-sections"
+export CFLAGS="%{optflags} -ffunction-sections"
+export LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic-functions -ffunction-sections"
 %ifarch armv5tel
 export CFLAGS="-g -O0 -fno-strict-aliasing -ffunction-sections"
 %endif