minismac2d: fix build with external Debian MPI (#7318)

This commit is contained in:
Christoph Junghans 2018-03-05 16:07:41 -07:00 committed by GitHub
parent 35115127bc
commit 94c8299a1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ def build_targets(self):
'CPP=cpp',
'FC={0}'.format(self.spec['mpi'].mpifc),
'LD={0}'.format(self.spec['mpi'].mpifc),
'MPIDIR=-I{0}/include'.format(self.spec['mpi'].prefix),
'MPIDIR=-I{0}'.format(self.spec['mpi'].headers.directories[0]),
'CPPFLAGS=-P -traditional -DD_PRECISION',
'FFLAGS=-O3 -c -g -DD_PRECISION',
'LDFLAGS=-O3',