Related: rhbz#1978038

Sigh fix LDFlags to make nspr happy...
This commit is contained in:
Bob Relyea 2021-07-01 15:54:34 -07:00
parent 8e1aafaab1
commit 66eacfa6fd
1 changed files with 1 additions and 1 deletions

View File

@ -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