mozangle
mozangle copied to clipboard
Force clang to treat all input files as C++.
Fixes #38. sccache guesses what mode to run the compiler in based on the filename, which makes clang complain when we pass C++ flags when building C files. Forcing C++ mode causes sccache to skip the heuristic and clang happily compiles.
r? @jrmuizel
The windows failure is #41.
:umbrella: The latest upstream changes (presumably #50) made this pull request unmergeable. Please resolve the merge conflicts.