Skip to content

Commit

Permalink
Merge pull request #47 from ceblanton/46.gcc-type-mismatch-option
Browse files Browse the repository at this point in the history
GCC 10+ FFLAGS requires -fallow-argument-mismatch
  • Loading branch information
ceblanton authored Sep 16, 2022
2 parents 4a99a8b + 842632f commit f0d2c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ncrc-gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ FPPFLAGS := $(INCLUDES)
FPPFLAGS += $(shell nf-config --fflags)

# Base set of Fortran compiler flags
FFLAGS := -fcray-pointer -fdefault-real-8 -fdefault-double-8 -Waliasing -ffree-line-length-none -fno-range-check
FFLAGS := -fcray-pointer -fdefault-real-8 -fdefault-double-8 -Waliasing -ffree-line-length-none -fno-range-check -fallow-argument-mismatch

# Flags based on perforance target (production (OPT), reproduction (REPRO), or debug (DEBUG)
FFLAGS_OPT = -O2 -fno-expensive-optimizations
Expand Down

0 comments on commit f0d2c4e

Please sign in to comment.