diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-01-05 08:57:39 -0600 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2021-01-05 08:57:39 -0600 |
commit | 5934d86345c6625560809611322e35f44f3151a4 (patch) | |
tree | f0167f615d34fccd958f9bf9f9289d3c2b73a26b /gcc11-plugins-fix.patch | |
parent | 51aa5c5b1d358b0ca3334ad97ab57570830d324c (diff) | |
download | kernel-5934d86345c6625560809611322e35f44f3151a4.tar.gz kernel-5934d86345c6625560809611322e35f44f3151a4.tar.xz kernel-5934d86345c6625560809611322e35f44f3151a4.zip |
Build fixes
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
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 |