modylas: Add flag to use preprocessor when building with Fujitsu compiler. (#16598)
This commit is contained in:
parent
8b06bd7198
commit
278f8eb7fe
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue