shims/super/cc: Fix c++ -xc++-header
Compiling a precompiled header should be mode :cxx rather than :cxxld.
This commit is contained in:
parent
0933686dea
commit
88bf6abd10
@ -43,6 +43,8 @@ class Cmd
|
|||||||
else
|
else
|
||||||
:cc
|
:cc
|
||||||
end
|
end
|
||||||
|
elsif @args.include?("-xc++-header") || @args.each_cons(2).include?(["-x", "c++-header"])
|
||||||
|
:cxx
|
||||||
elsif @args.include? "-E"
|
elsif @args.include? "-E"
|
||||||
:ccE
|
:ccE
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user