summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jss/files/jss-4.3-ldflags.patch')
-rw-r--r--dev-java/jss/files/jss-4.3-ldflags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-java/jss/files/jss-4.3-ldflags.patch b/dev-java/jss/files/jss-4.3-ldflags.patch
new file mode 100644
index 000000000000..2706da134464
--- /dev/null
+++ b/dev-java/jss/files/jss-4.3-ldflags.patch
@@ -0,0 +1,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)
+