Skip to content

Commit e9b2182

Browse files
Apply type-mismatch for gcc-10 to all gcc targets (wrf-model#1848)
TYPE: bug-fix KEYWORDS: GCC SOURCE: Stephen Sachs (AWS) DESCRIPTION OF CHANGES: Problem: GCC-10 onwards compilation fails on ARM because of missing macro, FCCOMPAT. Solution: In order to patch GCC arguments when using GCC-10+ a line FCCOMPAT is necessary in configure.wrf. This patch is an extension to wrf-model#1251.
1 parent be65da1 commit e9b2182

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/configure.defaults

+1
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,7 @@ FCDEBUG = # -g $(FCNOOPT) # -fbacktrace -ggdb -fcheck=bounds,do,m
20542054
FORMAT_FIXED = -ffixed-form
20552055
FORMAT_FREE = -ffree-form -ffree-line-length-none
20562056
FCSUFFIX =
2057+
FCCOMPAT =
20572058
BYTESWAPIO = -fconvert=big-endian -frecord-marker=4
20582059
FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) $(FCCOMPAT)
20592060
FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG)

0 commit comments

Comments
 (0)