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