modylas: Add flag to use preprocessor when building with Fujitsu compiler. (#16598)
This commit is contained in:
parent
8b06bd7198
commit
278f8eb7fe
@ -40,6 +40,8 @@ def setup_build_environment(self, env):
|
|||||||
fflags = ['-O3', self.compiler.openmp_flag]
|
fflags = ['-O3', self.compiler.openmp_flag]
|
||||||
if self.spec.satisfies('%gcc'):
|
if self.spec.satisfies('%gcc'):
|
||||||
fflags.append('-cpp')
|
fflags.append('-cpp')
|
||||||
|
elif self.spec.satisfies('%fj'):
|
||||||
|
fflags.append('-Cpp')
|
||||||
env.set('FCFLAGS', ' '.join(fflags))
|
env.set('FCFLAGS', ' '.join(fflags))
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user