aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gcc-plugins')
-rw-r--r--scripts/gcc-plugins/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
index e2ff425f4c7e..326254653bd0 100644
--- a/scripts/gcc-plugins/Makefile
+++ b/scripts/gcc-plugins/Makefile
@@ -1,4 +1,5 @@
1# SPDX-License-Identifier: GPL-2.0 1# SPDX-License-Identifier: GPL-2.0
2PLUGINCC := $(CONFIG_PLUGIN_HOSTCC:"%"=%)
2GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) 3GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin)
3 4
4ifeq ($(PLUGINCC),$(HOSTCC)) 5ifeq ($(PLUGINCC),$(HOSTCC))
@@ -13,10 +14,6 @@ else
13 export HOST_EXTRACXXFLAGS 14 export HOST_EXTRACXXFLAGS
14endif 15endif
15 16
16ifneq ($(CFLAGS_KCOV), $(SANCOV_PLUGIN))
17 GCC_PLUGIN := $(filter-out $(SANCOV_PLUGIN), $(GCC_PLUGIN))
18endif
19
20export HOSTLIBS 17export HOSTLIBS
21 18
22$(obj)/randomize_layout_plugin.o: $(objtree)/$(obj)/randomize_layout_seed.h 19$(obj)/randomize_layout_plugin.o: $(objtree)/$(obj)/randomize_layout_seed.h