parallel-netcdf: use spack_cc for sequential code instead of system gcc (#3143)
This commit is contained in:
parent
d2a52d6dd6
commit
6681fc1a47
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ def configure_args(self):
|
|||
spec = self.spec
|
||||
|
||||
args = ['--with-mpi={0}'.format(spec['mpi'].prefix)]
|
||||
args.append('SEQ_CC=%s' % spack_cc)
|
||||
|
||||
if '+fpic' in spec:
|
||||
args.extend(['CFLAGS=-fPIC', 'CXXFLAGS=-fPIC', 'FFLAGS=-fPIC'])
|
||||
|
|
Loading…
Reference in a new issue