minismac2d: fix build with external Debian MPI (#7318)
This commit is contained in:
parent
35115127bc
commit
94c8299a1e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ def build_targets(self):
|
||||||
'CPP=cpp',
|
'CPP=cpp',
|
||||||
'FC={0}'.format(self.spec['mpi'].mpifc),
|
'FC={0}'.format(self.spec['mpi'].mpifc),
|
||||||
'LD={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',
|
'CPPFLAGS=-P -traditional -DD_PRECISION',
|
||||||
'FFLAGS=-O3 -c -g -DD_PRECISION',
|
'FFLAGS=-O3 -c -g -DD_PRECISION',
|
||||||
'LDFLAGS=-O3',
|
'LDFLAGS=-O3',
|
||||||
|
|
Loading…
Reference in a new issue