Skip to content

Maintain separate flags for C++ compiler invocations

Ben Gamari requested to merge wip/T16738 into master

Previously we would pass flags intended for the C compiler to the C++ compiler (see #16738 (closed)). 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.

Merge request reports