shims/super/cc: Do not remove -Xpreprocessor argument

This commit is contained in:
FX Coudert 2019-01-02 14:29:36 +01:00
parent e893d13d20
commit 2c09c0e0f4

View File

@ -187,6 +187,9 @@ class Cmd
"-fuse-linker-plugin", "-frounding-math"
# clang doesn't support these flags
args << arg unless tool =~ /^clang/
when "-Xpreprocessor"
# used for -Xpreprocessor -fopenmp
args << arg << enum.next
when /-mmacosx-version-min=10\.(\d)/
arg = "-mmacosx-version-min=10.9" if high_sierra_or_later? && $1.to_i < 9
args << arg