Skip to content

Commit

Permalink
update pymake defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno committed Jul 16, 2024
1 parent 1e84fb7 commit 5e0c3a4
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 5e0c3a4

Please sign in to comment.