aboutsummaryrefslogtreecommitdiffstats
path: root/math/superlu/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/superlu/files')
-rw-r--r--math/superlu/files/patch-make.inc24
1 files changed, 14 insertions, 10 deletions
diff --git a/math/superlu/files/patch-make.inc b/math/superlu/files/patch-make.inc
index d59436f52450..18ab9f7ccda6 100644
--- a/math/superlu/files/patch-make.inc
+++ b/math/superlu/files/patch-make.inc
@@ -1,15 +1,19 @@
---- make.inc.orig 2006-01-01 18:52:00.000000000 -0500
-+++ make.inc 2008-06-19 22:08:49.000000000 -0500
-@@ -19,7 +19,7 @@
+--- make.inc.orig 2006-01-02 00:52:00.000000000 +0100
++++ make.inc 2012-03-13 14:59:15.000000000 +0100
+@@ -19,22 +19,23 @@
#
TMGLIB = libtmglib.a
SUPERLULIB = libsuperlu_3.0.a
-BLASLIB = ../libblas.a
-+BLASLIB = %%BLAS%%
++SUPERLULIB_SHARED = libsuperlu_3.0.so
++BLASLIB = -L/usr/local/lib -lblas
#
# The archiver and the flag(s) to use when building archive (library)
-@@ -29,12 +29,12 @@
+ # If your system has no ranlib, set RANLIB = echo.
+ #
+-ARCH = ar
++ARCMD = ar
ARCHFLAGS = cr
RANLIB = ranlib
@@ -19,11 +23,11 @@
-FFLAGS = -O
-LOADER = cc
-LOADOPTS = -xO3
-+CC = %%CC%%
-+CFLAGS = %%CFLAGS%%
-+FORTRAN = %%FC%%
-+FFLAGS = %%FFLAGS%%
-+LOADER = %%FC%%
++CC ?= gcc46
++CFLAGS ?= -O2 -pipe -O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing -march=native -Wl,-rpath=/usr/local/lib/gcc46
++FORTRAN ?= gfortran46
++FFLAGS ?= -O -Wl,-rpath=/usr/local/lib/gcc46
++LOADER ?= gfortran46
+LOADOPTS =
#