lapack/make.patch

22 lines
770 B
Diff

Index: lapack-3.1.0/make.inc
===================================================================
--- lapack-3.1.0.orig/make.inc 2006-11-14 01:32:05.000000000 +0100
+++ lapack-3.1.0/make.inc 2006-11-14 15:01:22.000000000 +0100
@@ -18,12 +18,12 @@ PLAT = _LINUX
# selected. Define LOADER and LOADOPTS to refer to the loader and
# desired load options for your machine.
#
-FORTRAN = g77
-OPTS = -funroll-all-loops -O3 -Wimplicit -Wno-globals -Wunused
+FORTRAN = $(F77)
+OPTS = $(PICOPTS) $(FOPTS) $(OPTOPTS)
#OPTS = -O0 -g -Wall
DRVOPTS = $(OPTS)
-NOOPT = -Wimplicit -Wno-globals -Wunused
-LOADER = g77
+NOOPT = $(PICOPTS) $(FOPTS)
+LOADER = $(F77)
LOADOPTS =
#
# The archiver and the flag(s) to use when building archive (library)