Skip to content

Commit

Permalink
Intel compilers need specific flags...
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 28, 2024
1 parent 814d459 commit ff96685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ if fc.get_id() == 'gcc'
fc_flag += '-cpp'
pp_options += ['-cpp', '-E']
elif fc.get_id() == 'intel' or fc.get_id() == 'intel-llvm'
fc_flag += ['-fpp', '-nofor_main']
fc_flag += ['-fpp', '-nofor-main']
pp_options += ['-fpp', '-P']
elif fc.get_id() == 'intel-cl' or fc.get_id() == 'intel-llvm-cl'
fc_flag += ['/fpp', '/Qlowercase']
fc_flag += '/fpp'
pp_options += ['/fpp', '/P']
elif fc.get_id() == 'nagfor'
fc_flag += '-fpp'
Expand Down

0 comments on commit ff96685

Please sign in to comment.