oprnmx: fix to build with Fujitsu compiler. (#32389)

This commit is contained in:
Toyohisa Kameyama 2022-08-30 17:26:15 +09:00 committed by GitHub
parent 5be9f4dfef
commit a735dc027d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ def common_arguments(self):
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: