1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Ole Streicher <olebole@debian.org>
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(-)
--- a/build/Makefile
+++ b/build/Makefile
@@ -25,7 +25,7 @@
# 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)
@@ -153,7 +153,7 @@
# 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 \
|