summaryrefslogtreecommitdiff
path: root/math/pari-devel/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'math/pari-devel/files/patch-ai')
-rw-r--r--math/pari-devel/files/patch-ai11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/pari-devel/files/patch-ai b/math/pari-devel/files/patch-ai
new file mode 100644
index 000000000000..4ba9f537c105
--- /dev/null
+++ b/math/pari-devel/files/patch-ai
@@ -0,0 +1,11 @@
+--- config/get_cc.orig Thu Jan 8 01:20:56 2004
++++ config/get_cc Thu Jan 8 01:21:30 2004
+@@ -119,7 +119,7 @@
+ DBGFLAGS=${DBGFLAGS:-"-g $warn"}
+ # Some architectures need -fPIC for building dynamic lib
+ case "$osname-$arch" in
+- hpux-*|*-ia64) DLCFLAGS=-fPIC ;;
++ hpux-*|*-ia64|*-amd64) DLCFLAGS=-fPIC ;;
+ darwin-*) DLCFLAGS=-fno-common;;
+ esac
+ # Specific optimisations for some architectures