summaryrefslogtreecommitdiff
blob: fde2e26bf77c796501fed10c691612989d572515 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- security/coreconf/Linux.mk.orig	2010-01-15 22:19:00.000000000 +0000
+++ security/coreconf/Linux.mk	2015-09-27 22:17:50.102547607 +0100
@@ -142,7 +142,7 @@
 ARCH			= linux
 
 DSO_CFLAGS		= -fPIC
-DSO_LDOPTS		= -shared $(ARCHFLAG)
+DSO_LDOPTS		= $(LDFLAGS) -shared $(ARCHFLAG)
 # The linker on Red Hat Linux 7.2 and RHEL 2.1 (GNU ld version 2.11.90.0.8)
 # incorrectly reports undefined references in the libraries we link with, so
 # we don't use -z defs there.