Accepting request 641937 from home:msmeissn:branches:mozilla:Factory

- enable PIE support for the included binaries

OBS-URL: https://build.opensuse.org/request/show/641937
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/mozilla-nss?expand=0&rev=270
This commit is contained in:
Wolfgang Rosenauer 2018-10-14 18:31:34 +00:00 committed by Git OBS Bridge
parent c19e605ddc
commit 6351a29138
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Oct 14 08:10:08 UTC 2018 - meissner@suse.com
- enable PIE support for the included binaries
-------------------------------------------------------------------
Fri Aug 10 07:13:18 UTC 2018 - wr@rosenauer.org

View File

@ -13,7 +13,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -195,7 +195,7 @@ export FREEBL_NO_DEPEND=1
export FREEBL_LOWHASH=1
export NSPR_INCLUDE_DIR=`nspr-config --includedir`
export NSPR_LIB_DIR=`nspr-config --libdir`
export OPT_FLAGS="%{optflags} -fno-strict-aliasing"
export OPT_FLAGS="%{optflags} -fno-strict-aliasing -fPIE -pie"
export LIBDIR=%{_libdir}
%ifarch x86_64 s390x ppc64 ppc64le ia64 aarch64 riscv64
export USE_64=1