From 6681fc1a477d0db98b8835333bfeecfcf5d2b773 Mon Sep 17 00:00:00 2001 From: Carlos Bederián Date: Tue, 21 Feb 2017 04:19:45 +0200 Subject: parallel-netcdf: use spack_cc for sequential code instead of system gcc (#3143) --- var/spack/repos/builtin/packages/parallel-netcdf/package.py | 1 + 1 file changed, 1 insertion(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/parallel-netcdf/package.py b/var/spack/repos/builtin/packages/parallel-netcdf/package.py index 0563bd0686..43f93db0c6 100644 --- a/var/spack/repos/builtin/packages/parallel-netcdf/package.py +++ b/var/spack/repos/builtin/packages/parallel-netcdf/package.py @@ -53,6 +53,7 @@ class ParallelNetcdf(AutotoolsPackage): 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']) -- cgit v1.2.3-70-g09d2