summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openmx/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openmx/package.py b/var/spack/repos/builtin/packages/openmx/package.py
index 05d16d36fe..ddcd7e4e03 100644
--- a/var/spack/repos/builtin/packages/openmx/package.py
+++ b/var/spack/repos/builtin/packages/openmx/package.py
@@ -79,7 +79,7 @@ class Openmx(MakefilePackage):
if "%fj" in spec:
common_option.append("-Dkcomp -Kfast")
cc_option.append("-Dnosse -Nclang")
- fc_option.append(self.compiler.openmp_flag)
+ fc_option.extend([self.compiler.openmp_flag, "-Ccpp"])
else:
common_option.append("-O3")
if "%gcc" in spec: