diff --git a/lib/spack/spack/compilers/nag.py b/lib/spack/spack/compilers/nag.py index ce6da7aa4d8..c72a980327c 100644 --- a/lib/spack/spack/compilers/nag.py +++ b/lib/spack/spack/compilers/nag.py @@ -102,3 +102,13 @@ def fc_rpath_arg(self): @property def linker_arg(self): return '-Wl,-Wl,,' + + @property + def disable_new_dtags(self): + # Disable RPATH/RUNPATH forcing for NAG/GCC mixed toolchains: + return '' + + @property + def enable_new_dtags(self): + # Disable RPATH/RUNPATH forcing for NAG/GCC mixed toolchains: + return ''