summaryrefslogtreecommitdiff
blob: 2706da1344642efa4848bc9fdcc1156101a50530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://bugzilla.mozilla.org/show_bug.cgi?id=583666
https://bugs.gentoo.org/show_bug.cgi?id=327619

--- security/coreconf/Linux.mk
+++ security/coreconf/Linux.mk
@@ -174,7 +174,7 @@
 ARCH			= linux
 
 DSO_CFLAGS		= -fPIC
-DSO_LDOPTS		= -shared $(ARCHFLAG) -Wl,-z,defs
+DSO_LDOPTS		= $(LDFLAGS) -shared $(ARCHFLAG) -Wl,-z,defs
 DSO_LDFLAGS		=
 LDFLAGS			+= $(ARCHFLAG)