From 66eacfa6fd459fcd4ab98c4565b9869165d6c02d Mon Sep 17 00:00:00 2001 From: Bob Relyea Date: Thu, 1 Jul 2021 15:54:34 -0700 Subject: [PATCH] Related: rhbz#1978038 Sigh fix LDFlags to make nspr happy... --- nss.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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