Merge pull request #3034 from sjackman/superenv-cxxheader

shims/super/cc: Fix c++ -xc++-header
This commit is contained in:
Mike McQuaid 2017-08-12 12:42:26 +01:00 committed by GitHub
commit a1e3c54bc8

View File

@ -43,6 +43,8 @@ class Cmd
else
:cc
end
elsif @args.include?("-xc++-header") || @args.each_cons(2).include?(["-x", "c++-header"])
:cxx
elsif @args.include? "-E"
:ccE
else