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