diff --git a/nss.spec b/nss.spec index b4fc55d..d60a4df 100644 --- a/nss.spec +++ b/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