Forked from
Glasgow Haskell Compiler / GHC
14340 commits behind, 1 commit ahead of the upstream repository.
Ben Gamari
authored
Previously we would pass flags intended for the C compiler to the C++ compiler (see #16738). This would cause, for instance, `-std=gnu99` to be passed to the C++ compiler, causing spurious test failures. Fix this by maintaining a separate set of flags for C++ compilation invocations.