From 7bc5d6c6578ab9d60a83b81c7cc14819afef32ba Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 3 Jun 2019 18:51:17 -0400 Subject: Maintain separate flags for C++ compiler invocations 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. --- mk/config.mk.in | 1 + 1 file changed, 1 insertion(+) (limited to 'mk') diff --git a/mk/config.mk.in b/mk/config.mk.in index e2712796ce..10326d0c25 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -510,6 +510,7 @@ SettingsCCompilerCommand = @SettingsCCompilerCommand@ SettingsHaskellCPPCommand = @SettingsHaskellCPPCommand@ SettingsHaskellCPPFlags = @SettingsHaskellCPPFlags@ SettingsCCompilerFlags = @SettingsCCompilerFlags@ +SettingsCxxCompilerFlags = @SettingsCxxCompilerFlags@ SettingsCCompilerLinkFlags = @SettingsCCompilerLinkFlags@ SettingsCCompilerSupportsNoPie = @SettingsCCompilerSupportsNoPie@ SettingsLdCommand = @SettingsLdCommand@ -- cgit v1.2.1