diff options
author | SoonKyu Park <sk7.park@samsung.com> | 2018-04-13 15:14:20 +0900 |
---|---|---|
committer | SoonKyu Park <sk7.park@samsung.com> | 2018-04-13 15:15:26 +0900 |
commit | df240dc49a93d209943ea3e5f463ce7c1f677a46 (patch) | |
tree | 9259636aa54750fc8f738e8d577c291426c0033b | |
parent | c7637eddeb3ccd030128ab81cd76f8dba6bbdba9 (diff) | |
download | rpm-df240dc49a93d209943ea3e5f463ce7c1f677a46.tar.gz rpm-df240dc49a93d209943ea3e5f463ce7c1f677a46.tar.bz2 rpm-df240dc49a93d209943ea3e5f463ce7c1f677a46.zip |
Revert "Enable Armoring Feature - Add pie option"
This reverts commit 079d890dfd09f5c175d05387c05bfdd7e47c66b4.
It results in build failure on x86_64 architecture
Change-Id: I81ffe5e19ad252c27549f3f3c2ccfd16dceed6a6
-rw-r--r-- | packaging/rpm.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/rpm.spec b/packaging/rpm.spec index 4d5dc74a7..9e0596793 100644 --- a/packaging/rpm.spec +++ b/packaging/rpm.spec @@ -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 |