diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/esmf/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/esmf/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py index 3b922f14f2..b2519cf66c 100644 --- a/var/spack/repos/builtin/packages/esmf/package.py +++ b/var/spack/repos/builtin/packages/esmf/package.py @@ -200,8 +200,8 @@ class Esmf(MakefilePackage): env.set("ESMF_CXX", spec["mpi"].mpicxx) env.set("ESMF_F90", spec["mpi"].mpifc) else: - env.set("ESMF_CXX", env["CXX"]) - env.set("ESMF_F90", env["FC"]) + env.set("ESMF_CXX", spack_cxx) + env.set("ESMF_F90", spack_fc) # This environment variable controls the build option. if "+debug" in spec: |