391c46
Index: nss/coreconf/Linux.mk
391c46
===================================================================
391c46
--- nss.orig/coreconf/Linux.mk
391c46
+++ nss/coreconf/Linux.mk
391c46
@@ -144,7 +144,7 @@ ifdef USE_PTHREADS
391c46
 endif
391c46
 
391c46
 DSO_CFLAGS		= -fPIC
391c46
-DSO_LDOPTS		= -shared $(ARCHFLAG) -Wl,--gc-sections
391c46
+DSO_LDOPTS		= -shared $(ARCHFLAG) -Wl,--gc-sections $(DSO_LDFLAGS)
391c46
 # The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8)
391c46
 # incorrectly reports undefined references in the libraries we link with, so
391c46
 # we don't use -z defs there.