diff options
-rw-r--r-- | 0000_README | 4 | ||||
-rw-r--r-- | 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/0000_README b/0000_README index 36bb199c..3adc520a 100644 --- a/0000_README +++ b/0000_README @@ -991,6 +991,10 @@ Patch: 2920_sign-file-patch-for-libressl.patch From: https://bugs.gentoo.org/717166 Desc: sign-file: full functionality with modern LibreSSL +Patch: 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch +From: https://lore.kernel.org/all/20230201230009.2252783-1-sam@gentoo.org/ +Desc: gcc-plugins: drop -std=gnu++11 to fix GCC 13 build + Patch: 4567_distro-Gentoo-Kconfig.patch From: Tom Wijsman <TomWij@gentoo.org> Desc: Add Gentoo Linux support config settings and defaults. diff --git a/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch new file mode 100644 index 00000000..f4bf6251 --- /dev/null +++ b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch @@ -0,0 +1,11 @@ +--- a/scripts/gcc-plugins/Makefile 2023-02-02 14:12:55.366308720 -0500 ++++ b/scripts/gcc-plugins/Makefile 2023-02-02 14:13:41.066530357 -0500 +@@ -2,7 +2,7 @@ + GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) + + HOSTLIBS := hostcxxlibs +-HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++11 -fno-rtti ++HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -fno-rtti + HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb + HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable + HOST_EXTRACXXFLAGS += -Wno-format-diag |