Skip to content

Commit c558772

Browse files
authored
fix: Add -cpp flag support for flang-new compiler (#1169)
2 parents e8069d5 + d629768 commit c558772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_compiler.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ pure subroutine set_cpp_preprocessor_flags(id, flags)
519519
select case(id)
520520
case default
521521
flag_cpp_preprocessor = ""
522-
case(id_caf, id_gcc, id_f95, id_nvhpc)
522+
case(id_caf, id_gcc, id_f95, id_nvhpc, id_flang_new)
523523
flag_cpp_preprocessor = "-cpp"
524524
case(id_intel_classic_windows, id_intel_llvm_windows)
525525
flag_cpp_preprocessor = "/fpp"

0 commit comments

Comments
 (0)