minighost: another Ubuntu fix (#7359)

This commit is contained in:
Christoph Junghans 2018-03-05 17:39:21 -07:00 committed by GitHub
parent 94c8299a1e
commit 96f9576426
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ def build_targets(self):
if '%gcc' in self.spec:
targets.append('COMPILER_SUITE=gnu')
if '+mpi' in self.spec:
targets.append('LIBS=-lm -lmpi_cxx -lgfortran')
targets.append('LIBS=-lm -lmpi_f77 -lmpi -lgfortran')
else:
targets.append('LIBS=-lm -lgfortran')
elif '%cce' in self.spec: