summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-10-19 21:38:47 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-10-19 21:38:47 +0000
commitbdfa235465ecc3973f1665cefc1ea801b67c7352 (patch)
treed35f726e21d7be2cb138182cb0d7121e1b39acb9 /dev-libs/ccmath/files
parentAdded a patch for the configure script to honor the "arts" USE flag. Now it s... (diff)
downloadgentoo-2-bdfa235465ecc3973f1665cefc1ea801b67c7352.tar.gz
gentoo-2-bdfa235465ecc3973f1665cefc1ea801b67c7352.tar.bz2
gentoo-2-bdfa235465ecc3973f1665cefc1ea801b67c7352.zip
Added ~amd64 keyword
Diffstat (limited to 'dev-libs/ccmath/files')
-rw-r--r--dev-libs/ccmath/files/ccmath-2.2.1-fPIC.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/ccmath/files/ccmath-2.2.1-fPIC.patch b/dev-libs/ccmath/files/ccmath-2.2.1-fPIC.patch
new file mode 100644
index 000000000000..c95176f6d929
--- /dev/null
+++ b/dev-libs/ccmath/files/ccmath-2.2.1-fPIC.patch
@@ -0,0 +1,31 @@
+diff -Naur ccmath-2.2.1.orig/makelibs.sh ccmath-2.2.1/makelibs.sh
+--- ccmath-2.2.1.orig/makelibs.sh 2001-11-08 16:57:07.000000000 +0100
++++ ccmath-2.2.1/makelibs.sh 2004-10-19 23:33:36.745735608 +0200
+@@ -16,23 +16,23 @@
+ do
+ cd $MDR/$dr
+ echo `pwd`
+- cc -c -O3 *.c
++ cc -fPIC -c -O3 *.c
+ mv *.o $LSOD
+ done
+
+ # Compile corrected svd QR support without optimizing
+ # The GNU optimizer destroys the fix!
+ cd $MDR/matrix
+-cc -c qrb*.c
++cc -fPIC -c qrb*.c
+ mv *.o $LSOD
+ cd $MDR
+
+ if [ $F = "y" ]
+ then cd $MDR/matrix
+- cc -c -O3 solv.s
++ cc -fPIC -c -O3 solv.s
+ mv *.o $LSOD
+ cd $MDR/simu
+- cc -c -O3 *.s
++ cc -fPIC -c -O3 *.s
+ mv *.o $LSOD
+ fi
+ cd $LSOD