summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authort-karatsu <49965247+t-karatsu@users.noreply.github.com>2020-01-29 12:02:40 +0900
committerGitHub <noreply@github.com>2020-01-28 21:02:40 -0600
commitf7ec09d30bd835b8318b48365edece35d08b4114 (patch)
tree5d4a6ed7bc8b500e0ffbf2ff5a4d229435bcc796 /lib
parent9d7e482497e3ee3b4aeb6c495a27cd88d8b2a64c (diff)
downloadspack-f7ec09d30bd835b8318b48365edece35d08b4114.tar.gz
spack-f7ec09d30bd835b8318b48365edece35d08b4114.tar.bz2
spack-f7ec09d30bd835b8318b48365edece35d08b4114.tar.xz
spack-f7ec09d30bd835b8318b48365edece35d08b4114.zip
Fujitsu compiler: Defining option that is always added. (#14657)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/fj.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/spack/spack/compilers/fj.py b/lib/spack/spack/compilers/fj.py
index 1f7d52f026..083fe35b0d 100644
--- a/lib/spack/spack/compilers/fj.py
+++ b/lib/spack/spack/compilers/fj.py
@@ -61,3 +61,7 @@ class Fj(spack.compiler.Compiler):
@property
def pic_flag(self):
return "-KPIC"
+
+ def setup_custom_environment(self, pkg, env):
+ env.append_flags('fcc_ENV', '-Nclang')
+ env.append_flags('FCC_ENV', '-Nclang')