From 7538444a03cfbff7d2d0c1c8423df277902e72c8 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Tue, 16 Feb 2021 18:31:51 +0100 Subject: NAG compiler: disable forcing RPATH/RUNPATH (#21701) --- lib/spack/spack/compilers/nag.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 '' -- cgit v1.2.3-70-g09d2