aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/superlu/files/superlu-makeinc.patch')
-rw-r--r--sci-libs/superlu/files/superlu-makeinc.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sci-libs/superlu/files/superlu-makeinc.patch b/sci-libs/superlu/files/superlu-makeinc.patch
new file mode 100644
index 000000000..64de51ec2
--- /dev/null
+++ b/sci-libs/superlu/files/superlu-makeinc.patch
@@ -0,0 +1,18 @@
+--- make.inc.orig 2008-02-01 11:04:11.332831878 +0000
++++ make.inc 2008-02-01 11:54:43.192532528 +0000
+@@ -29,12 +29,9 @@
+ ARCHFLAGS = cr
+ RANLIB = ranlib
+
+-CC = cc
+-CFLAGS = -xO3 -xcg92
+-FORTRAN = f77
+-FFLAGS = -O
+-LOADER = cc
+-LOADOPTS = -xO3
++FORTRAN = $(F77)
++LOADER = gcc
++LOADOPTS = $(LDFLAGS)
+
+ #
+ # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)