summaryrefslogtreecommitdiff
path: root/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch')
-rw-r--r--sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch b/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch
new file mode 100644
index 000000000000..6d6e6726ddf7
--- /dev/null
+++ b/sci-mathematics/pari/files/pari-2.11.2-Makefile-LDFLAGS.patch
@@ -0,0 +1,13 @@
+diff --git a/config/Makefile.SH b/config/Makefile.SH
+index 27c6d5b..43debb1 100644
+--- a/config/Makefile.SH
++++ b/config/Makefile.SH
+@@ -185,7 +185,7 @@ LD = $LD \$(LD_FLAVOR)
+ LDFLAGS = $LDFLAGS
+ DLLD_FLAVOR = \$(LD_FLAVOR)
+ DLLD = $DLLD \$(DLLD_FLAVOR)
+-DLLDFLAGS = $DLLDFLAGS
++DLLDFLAGS = $DLLDFLAGS \$(LDFLAGS)
+ EXTRADLLDFLAGS = $EXTRADLLDFLAGS
+ RUNTEST = $RUNTEST
+