summaryrefslogtreecommitdiff
path: root/lib/spack/env
diff options
context:
space:
mode:
authorSergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>2020-03-03 22:13:38 +0100
committerGitHub <noreply@github.com>2020-03-03 13:13:38 -0800
commitb472c1380331cc414582f8f5bcb9045e468457c9 (patch)
tree582db7a7b55e219be8eb77eea9d6e8762f0ce30b /lib/spack/env
parent370e7c211d9dcdf559f55dee24ae38bfcc74c009 (diff)
downloadspack-b472c1380331cc414582f8f5bcb9045e468457c9.tar.gz
spack-b472c1380331cc414582f8f5bcb9045e468457c9.tar.bz2
spack-b472c1380331cc414582f8f5bcb9045e468457c9.tar.xz
spack-b472c1380331cc414582f8f5bcb9045e468457c9.zip
Fix FCFLAGS handling for Autotools packages (#14788)
Spack's fflags are meant for both f77 and fc. Therefore, they must be passed as FFLAGS and FCFLAGS to the configure scripts of Autotools-based packages.
Diffstat (limited to 'lib/spack/env')
-rwxr-xr-xlib/spack/env/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 73c5759dfe..f2b8bf577f 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -43,7 +43,7 @@ parameters=(
# The compiler input variables are checked for sanity later:
# SPACK_CC, SPACK_CXX, SPACK_F77, SPACK_FC
# The default compiler flags are passed from these variables:
-# SPACK_CFLAGS, SPACK_CXXFLAGS, SPACK_FCFLAGS, SPACK_FFLAGS,
+# SPACK_CFLAGS, SPACK_CXXFLAGS, SPACK_FFLAGS,
# SPACK_LDFLAGS, SPACK_LDLIBS
# Debug env var is optional; set to "TRUE" for debug logging:
# SPACK_DEBUG