Skip to content

Commit

Permalink
update pymake defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Nov 12, 2024
1 parent e28bac9 commit 8f4ea77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymake/makedefaults
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ OPTLEVEL ?= -O2
# set the fortran flags
ifeq ($(detected_OS), Windows)
ifeq ($(FC), gfortran)
FFLAGS ?= -static -fbacktrace -ffpe-summary=overflow -ffpe-trap=overflow,zero,invalid $(OS_macro) -Wtabs -Wline-truncation -Wunused-label -Wunused-variable -pedantic -std=f2008 -Wcharacter-truncation -cpp
FFLAGS ?= -static -fbacktrace -ffpe-summary=overflow -ffpe-trap=overflow,zero,invalid $(OS_macro) -Wtabs -Wline-truncation -Wunused-label -Wunused-variable -pedantic -std=f2018 -Wcharacter-truncation -cpp
endif
else
ifeq ($(FC), gfortran)
FFLAGS ?= -fbacktrace -ffpe-summary=overflow -ffpe-trap=overflow,zero,invalid $(OS_macro) -Wtabs -Wline-truncation -Wunused-label -Wunused-variable -pedantic -std=f2008 -Wcharacter-truncation -cpp
FFLAGS ?= -fbacktrace -ffpe-summary=overflow -ffpe-trap=overflow,zero,invalid $(OS_macro) -Wtabs -Wline-truncation -Wunused-label -Wunused-variable -pedantic -std=f2018 -Wcharacter-truncation -cpp
endif
ifeq ($(FC), $(filter $(FC), ifort mpiifort))
FFLAGS ?= -no-heap-arrays -fpe0 -traceback -fpp
Expand Down

0 comments on commit 8f4ea77

Please sign in to comment.