baurmc: correct compile flag (#31305)

This commit is contained in:
Valentin Volkl 2022-08-22 14:28:20 +02:00 committed by GitHub
parent 408076adf0
commit 4d0612abfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,11 @@ def patch(self):
filter_file("FC=g77", "FC=gfortran", str(self.spec.version) + "/configure", string=True)
def configure_args(self):
return ["--userfflags=-fno-automatic", "--enable-shared"]
return [
"--userfflags=-fno-automatic",
"--userfflags=-fallow-argument-mismatch",
"--enable-shared",
]
def install(self, spec, prefix):
build_libdir = os.path.join(str(spec.version), "lib")