diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2021-01-05 17:50:11 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2021-01-05 17:50:11 +0100 |
commit | c6aa4364d055f1b02ed8aa61c465f40b45e4b078 (patch) | |
tree | 182330bc1e4555802aedd2d2acd465689ab2dee1 /gcc11-plugins-fix.patch | |
parent | 87da4064701f9ed70e8c25b5ee9165450b1d0c40 (diff) | |
parent | 3a91cbd61fc379fc559561ce4850e9e342dc18be (diff) | |
download | kernel-c6aa4364d055f1b02ed8aa61c465f40b45e4b078.tar.gz kernel-c6aa4364d055f1b02ed8aa61c465f40b45e4b078.tar.xz kernel-c6aa4364d055f1b02ed8aa61c465f40b45e4b078.zip |
Merge remote-tracking branch 'origin/master' into rawhide-user-thl-vanilla-fedora
Diffstat (limited to 'gcc11-plugins-fix.patch')
-rw-r--r-- | gcc11-plugins-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc11-plugins-fix.patch b/gcc11-plugins-fix.patch new file mode 100644 index 000000000..caac69117 --- /dev/null +++ b/gcc11-plugins-fix.patch @@ -0,0 +1,13 @@ +diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile +index d66949bfeba4..a6c35d651704 100644 +--- a/scripts/gcc-plugins/Makefile ++++ b/scripts/gcc-plugins/Makefile +@@ -22,7 +22,7 @@ always-y += $(GCC_PLUGIN) + GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin) + + plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ +- -I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++98 \ ++ -I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \ + -fno-rtti -fno-exceptions -fasynchronous-unwind-tables \ + -ggdb -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat \ + -Wno-format-diag |