Skip to content

Commit c4cc3b1

Browse files
committed
Merge tag 'gcc-plugins-v5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull gcc-plugins fix from Kees Cook: "Bump c++ standard version for latest GCC versions (Valdis Kletnieks)" * tag 'gcc-plugins-v5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: gcc-plugins: fix gcc 11 indigestion with plugins...
2 parents f5e6c33 + 67a5a68 commit c4cc3b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/gcc-plugins/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ always-y += $(GCC_PLUGIN)
2222
GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
2323

2424
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \
25-
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++98 \
25+
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \
2626
-fno-rtti -fno-exceptions -fasynchronous-unwind-tables \
27-
-ggdb -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat \
27+
-ggdb -Wno-narrowing -Wno-unused-variable \
2828
-Wno-format-diag
2929

3030
plugin_ldflags = -shared

0 commit comments

Comments
 (0)