parallel-netcdf: use spack_cc for sequential code instead of system gcc (#3143)

This commit is contained in:
Carlos Bederián 2017-02-21 04:19:45 +02:00 committed by Todd Gamblin
parent d2a52d6dd6
commit 6681fc1a47

View file

@ -53,6 +53,7 @@ def configure_args(self):
spec = self.spec spec = self.spec
args = ['--with-mpi={0}'.format(spec['mpi'].prefix)] args = ['--with-mpi={0}'.format(spec['mpi'].prefix)]
args.append('SEQ_CC=%s' % spack_cc)
if '+fpic' in spec: if '+fpic' in spec:
args.extend(['CFLAGS=-fPIC', 'CXXFLAGS=-fPIC', 'FFLAGS=-fPIC']) args.extend(['CFLAGS=-fPIC', 'CXXFLAGS=-fPIC', 'FFLAGS=-fPIC'])