summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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')