diff --git a/var/spack/repos/builtin/packages/modylas/package.py b/var/spack/repos/builtin/packages/modylas/package.py index 1241d3a8ed..ada4bc7fed 100644 --- a/var/spack/repos/builtin/packages/modylas/package.py +++ b/var/spack/repos/builtin/packages/modylas/package.py @@ -40,6 +40,8 @@ def setup_build_environment(self, env): fflags = ['-O3', self.compiler.openmp_flag] if self.spec.satisfies('%gcc'): fflags.append('-cpp') + elif self.spec.satisfies('%fj'): + fflags.append('-Cpp') env.set('FCFLAGS', ' '.join(fflags)) def configure_args(self):