From: Ole Streicher Date: Wed, 2 Oct 2019 11:41:08 +0200 Subject: Use FFLAGS provided by the system --- build/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Makefile b/build/Makefile index cbb076a..b8c928a 100644 --- a/build/Makefile +++ b/build/Makefile @@ -31,7 +31,7 @@ endif # some default settings for unix systems # FC= -FFLAGS= +#FFLAGS= # # change the line below if SPLASH does not find the X11 libraries # (some settings of the SYSTEM variable for specific machines overwrite this) @@ -163,7 +163,7 @@ ifeq ($(SYSTEM), gfortran) # gfortran compiler (part of gcc 4.x.x) CC = gcc FC= gfortran - FFLAGS= -fPIC + FFLAGS+= -fPIC $(CPPFLAGS) DBLFLAGS= -fdefault-real-8 -fdefault-double-8 SYSTEMFILE= system_f2003.f90 DEBUGFLAG= -Wall -Wextra -pedantic -g -frange-check -fcheck=all -fbacktrace \