diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2015-10-10 12:55:33 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2015-10-10 12:55:33 +0000 |
commit | 81910de90c04e290b8aaa5b44d1849e63f4588c4 (patch) | |
tree | d628aad50b075502b530890b6db4b7d599b2b928 /math/math77/files/patch-makefile | |
parent | audio/quimup: Upgrade version 1.3.2 => 1.4.0 (diff) |
Mathematical subprogram libraries for Fortran 77.
Created by CalTech.
WWW: http://netlib.org/math/
PR: 201918
Submitted by: mexas@bris.ac.uk
Notes
Notes:
svn path=/head/; revision=398992
Diffstat (limited to 'math/math77/files/patch-makefile')
-rw-r--r-- | math/math77/files/patch-makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/math/math77/files/patch-makefile b/math/math77/files/patch-makefile new file mode 100644 index 000000000000..d5234e097df3 --- /dev/null +++ b/math/math77/files/patch-makefile @@ -0,0 +1,30 @@ +--- makefile.orig 2015-07-13 15:16:24 UTC ++++ makefile +@@ -6,12 +6,11 @@ + # you will want to change the optimization level. (For example change + # -ggdb to -O3 or -O2. + +-FC = /usr/bin/gfortran + std_flags=-march=native -fimplicit-none -fno-f2c -fno-backslash\ + -funroll-loops -ffpe-trap=zero,overflow,invalid -finit-real=NAN\ +- -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -pipe ++ -ftree-vectorize -pipe + +-FFLAGS = -ggdb $(std_flags) -Wall ++FFLAGS+= $(std_flags) -Wall + # + objm77 = $(patsubst %.f,%.o, $(wildcard *.f)) + # +@@ -20,10 +19,10 @@ all: libmath77.a + .SUFFIXES: + .SUFFIXES: .f .o + %.o: %.f +- $(FC) -c $(FFLAGS) $(FOPTS) -o $@ $*.f &>>compile.msg ++ $(FC) -c $(FFLAGS) $(FOPTS) -o $@ $*.f + + libmath77.a: $(objm77) +- ar r $@ $(objm77) &>>compile.msg ++ ar r $@ $(objm77) + + demo: libmath77.a makefile demo/dr$(code).f + $(FC) $(FFLAGS) -o demo/dr$(code) demo/dr$(code).f -L. -lmath77;\ |