]>
Commit | Line | Data |
---|---|---|
0d4c8b4c JR |
1 | --- linux-4.14/scripts/gcc-plugin.sh.orig 2017-11-12 19:46:13.000000000 +0100 |
2 | +++ linux-4.14/scripts/gcc-plugin.sh 2021-07-08 09:52:23.460059564 +0200 | |
3 | @@ -43,7 +43,7 @@ | |
4 | esac | |
5 | ||
6 | # we need a c++ compiler that supports the designated initializer GNU extension | |
7 | -plugincc=$($2 -c -x c++ -std=gnu++98 - -fsyntax-only -I"${srctree}"/gcc-plugins -I"${gccplugins_dir}"/include 2>&1 <<EOF | |
8 | +plugincc=$($2 -c -x c++ -std=gnu++11 - -fsyntax-only -I"${srctree}"/gcc-plugins -I"${gccplugins_dir}"/include 2>&1 <<EOF | |
9 | #include "gcc-common.h" | |
10 | class test { | |
11 | public: | |
12 | --- linux-4.14/scripts/gcc-plugins/Makefile~ 2021-07-08 09:24:22.000000000 +0200 | |
13 | +++ linux-4.14/scripts/gcc-plugins/Makefile 2021-07-08 09:53:18.585669320 +0200 | |
14 | @@ -7,7 +7,7 @@ | |
15 | export HOST_EXTRACFLAGS | |
16 | else | |
17 | HOSTLIBS := hostcxxlibs | |
18 | - HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++98 -fno-rtti | |
19 | + HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++11 -fno-rtti | |
20 | HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb | |
21 | HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable | |
22 | HOST_EXTRACXXFLAGS += -Wno-format-diag |