From bdfa235465ecc3973f1665cefc1ea801b67c7352 Mon Sep 17 00:00:00 2001 From: Karol Wojtaszek Date: Tue, 19 Oct 2004 21:38:47 +0000 Subject: Added ~amd64 keyword --- dev-libs/ccmath/files/ccmath-2.2.1-fPIC.patch | 31 +++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-libs/ccmath/files/ccmath-2.2.1-fPIC.patch (limited to 'dev-libs/ccmath/files') 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 -- cgit v1.2.3-65-gdbad