Related: rhbz#1978038
Sigh fix LDFlags to make nspr happy...
This commit is contained in:
parent
8e1aafaab1
commit
66eacfa6fd
2
nss.spec
2
nss.spec
@ -330,7 +330,6 @@ find nss/lib/libpkix -perm /u+x -type f -exec chmod -x {} \;
|
||||
# TODO: This phase can be done by the NSS build process if we switch
|
||||
# to using "make nss_build_all". For now, however, we need some
|
||||
# adjustment in the NSS build process.
|
||||
export LDFLAGS=$RPM_LD_FLAGS
|
||||
mkdir -p nspr_build
|
||||
pushd nspr_build
|
||||
../nspr/configure \
|
||||
@ -349,6 +348,7 @@ pushd nspr_build
|
||||
--enable-optimize="$RPM_OPT_FLAGS" \
|
||||
--disable-debug
|
||||
|
||||
export LDFLAGS=$RPM_LD_FLAGS
|
||||
# The assembly files are only for legacy atomics, to which we prefer GCC atomics
|
||||
%ifarch i686 x86_64
|
||||
sed -i '/^PR_MD_ASFILES/d' config/autoconf.mk
|
||||
|
Loading…
Reference in New Issue
Block a user