diff options
Diffstat (limited to 'lib/spack/spack/platforms')
-rw-r--r-- | lib/spack/spack/platforms/cray_xc.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/spack/spack/platforms/cray_xc.py b/lib/spack/spack/platforms/cray_xc.py index e3c7761a94..aee375ac89 100644 --- a/lib/spack/spack/platforms/cray_xc.py +++ b/lib/spack/spack/platforms/cray_xc.py @@ -45,6 +45,13 @@ class CrayXc(Platform): self.add_operating_system('CNL10', Cnl()) @classmethod + def setup_platform_environment(self, env): + """ Change the linker to default dynamic to be more + similar to linux/standard linker behavior + """ + env.set('CRAYPE_LINK_TYPE', 'dynamic') + + @classmethod def detect(self): try: cc_verbose = which('ftn') |