summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>2021-02-16 18:31:51 +0100
committerGitHub <noreply@github.com>2021-02-16 18:31:51 +0100
commit7538444a03cfbff7d2d0c1c8423df277902e72c8 (patch)
tree9f01ae5ff69277a5a88ce49599d97f11c3178f43 /lib
parent145a4351009239eaf6c3fe8bafa5d5297562bb4c (diff)
downloadspack-7538444a03cfbff7d2d0c1c8423df277902e72c8.tar.gz
spack-7538444a03cfbff7d2d0c1c8423df277902e72c8.tar.bz2
spack-7538444a03cfbff7d2d0c1c8423df277902e72c8.tar.xz
spack-7538444a03cfbff7d2d0c1c8423df277902e72c8.zip
NAG compiler: disable forcing RPATH/RUNPATH (#21701)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/nag.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/nag.py b/lib/spack/spack/compilers/nag.py
index ce6da7aa4d..c72a980327 100644
--- a/lib/spack/spack/compilers/nag.py
+++ b/lib/spack/spack/compilers/nag.py
@@ -102,3 +102,13 @@ class Nag(spack.compiler.Compiler):
@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 ''