diff options
author | Tomoki, Karatsu <49965247+t-karatsu@users.noreply.github.com> | 2020-05-13 01:34:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 11:34:28 -0500 |
commit | 278f8eb7fe66487cc4ce02975be285e3555d627c (patch) | |
tree | 618ba0347293c096f035e2a99729fd9fc5bcf059 | |
parent | 8b06bd719888539964a2061100224b4a07ed2baf (diff) | |
download | spack-278f8eb7fe66487cc4ce02975be285e3555d627c.tar.gz spack-278f8eb7fe66487cc4ce02975be285e3555d627c.tar.bz2 spack-278f8eb7fe66487cc4ce02975be285e3555d627c.tar.xz spack-278f8eb7fe66487cc4ce02975be285e3555d627c.zip |
modylas: Add flag to use preprocessor when building with Fujitsu compiler. (#16598)
-rw-r--r-- | var/spack/repos/builtin/packages/modylas/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ class Modylas(AutotoolsPackage): 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): |