Skip to content
Snippets Groups Projects
Verified Commit b2303e79 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

Revert "Fix building kernel gcc plugins with gcc 11.x"


This reverts commit e28becb5. It was
pulled in my mistake via the following merge:

commit 8854d258
(origin/oniro/v5.10/base, oniro/v5.10/base)
Merge: e28becb5 7d51b4c6
Author: Andrei Gherzan <andrei.gherzan@huawei.com>
Date:   Tue Nov 1 14:26:47 2022 +0100
    Merge remote-tracking branch 'yocto/v5.10/base' into
oniro/v5.10/base-up

We drop it as it is applied via the Yocto layers integration.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 8854d258
No related branches found
No related tags found
1 merge request!2Revert "Fix building kernel gcc plugins with gcc 11.x"
...@@ -9,6 +9,7 @@ menuconfig GCC_PLUGINS ...@@ -9,6 +9,7 @@ menuconfig GCC_PLUGINS
bool "GCC plugins" bool "GCC plugins"
depends on HAVE_GCC_PLUGINS depends on HAVE_GCC_PLUGINS
depends on CC_IS_GCC depends on CC_IS_GCC
depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC))
default y default y
help help
GCC plugins are loadable modules that provide extra features to the GCC plugins are loadable modules that provide extra features to the
......
...@@ -22,9 +22,9 @@ always-y += $(GCC_PLUGIN) ...@@ -22,9 +22,9 @@ always-y += $(GCC_PLUGIN)
GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin) GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \ plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \
-I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++11 \ -I $(GCC_PLUGINS_DIR)/include -I $(obj) -std=gnu++98 \
-fno-rtti -fno-exceptions -fasynchronous-unwind-tables \ -fno-rtti -fno-exceptions -fasynchronous-unwind-tables \
-ggdb -Wno-narrowing -Wno-unused-variable \ -ggdb -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat \
-Wno-format-diag -Wno-format-diag
plugin_ldflags = -shared plugin_ldflags = -shared
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment