mapl: fix conditional on gfortran
This commit is contained in:
parent
f8117e8182
commit
da48fdd864
@ -376,7 +376,7 @@ def cmake_args(self):
|
||||
|
||||
# Compatibility flags for gfortran
|
||||
fflags = []
|
||||
if self.compiler.name in ["gcc", "clang", "apple-clang"]:
|
||||
if self["fortran"].name == "gcc":
|
||||
fflags.append("-ffree-line-length-none")
|
||||
|
||||
gfortran_major_ver = int(self.spec["fortran"].version[0])
|
||||
|
Loading…
Reference in New Issue
Block a user