mpich: disable fortran without a fortran compiler

This commit is contained in:
Ben Boeckel 2016-03-30 17:19:29 -04:00
parent 4bc6ace201
commit f1a0619821

View file

@ -78,6 +78,9 @@ def install(self, spec, prefix):
if not self.compiler.fc:
config_args.append("--disable-fc")
if not self.compiler.fc and not self.compiler.f77:
config_args.append("--disable-fortran")
configure(*config_args)
make()
make("install")