summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/compilers/nag.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/nag.py b/lib/spack/spack/compilers/nag.py
index f1cc6be0d5..527a05a090 100644
--- a/lib/spack/spack/compilers/nag.py
+++ b/lib/spack/spack/compilers/nag.py
@@ -16,7 +16,7 @@ class Nag(Compiler):
# Named wrapper links within spack.build_env_path
link_paths = { # Use default wrappers for C and C++, in case provided in compilers.yaml
'cc' : 'cc',
- 'cxx' : 'cxx',
+ 'cxx' : 'c++',
'f77' : 'nag/nagfor',
'fc' : 'nag/nagfor' }