summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/claw/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/claw/package.py b/var/spack/repos/builtin/packages/claw/package.py
index 1f14ee88a4..d905faf2bc 100644
--- a/var/spack/repos/builtin/packages/claw/package.py
+++ b/var/spack/repos/builtin/packages/claw/package.py
@@ -30,4 +30,7 @@ class Claw(CMakePackage):
args.append('-DOMNI_CONF_OPTION=--with-libxml2={0}'.
format(spec['libxml2'].prefix))
+ args.append('-DCMAKE_Fortran_COMPILER={0}'.
+ format(self.compiler.fc))
+
return args