Skip to content

Commit

Permalink
The fortran option -fallow-argument-mismatch is only needed for gcc 1…
Browse files Browse the repository at this point in the history
…0, not for gcc 9.
  • Loading branch information
markito3 committed Oct 23, 2020
1 parent fe1c48f commit 8164837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if SHOWBUILD==0:
# Turn on debug symbols and warnings
env.PrependUnique( CFLAGS = ['-g', '-fPIC', '-Wall'])
env.PrependUnique( CXXFLAGS = ['-g', '-fPIC', '-Wall'])
if gcc_version >= 9:
if gcc_version >= 10:
env.PrependUnique(FORTRANFLAGS = ['-g', '-fPIC', '-fallow-argument-mismatch'])
else:
env.PrependUnique(FORTRANFLAGS = ['-g', '-fPIC'])
Expand Down

0 comments on commit 8164837

Please sign in to comment.