aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-09-24 11:30:53 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-09-24 11:30:53 -0400
commitef7fed71f7453599036fe76fe6c7cc58b7d6fbf6 (patch)
tree467227308c813fb6a11fa91e1653bd560bf5051e
parent635c37959e0fa4d9e399ebd7f6432f7f35128a9b (diff)
parentf41fc970044b45802142a00243c11626acf942fa (diff)
downloadlinux-yocto-v5.13/standard/bcm-2xxx-rpi.tar.gz
linux-yocto-v5.13/standard/bcm-2xxx-rpi.tar.bz2
linux-yocto-v5.13/standard/bcm-2xxx-rpi.zip
Merge branch 'v5.13/standard/base' into v5.13/standard/bcm-2xxx-rpiv5.13/standard/bcm-2xxx-rpi
-rw-r--r--scripts/gcc-plugins/Kconfig2
-rw-r--r--scripts/gcc-plugins/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gcc-plugins/Kconfig b/scripts/gcc-plugins/Kconfig
index ab9eb4cbe33a..5dad6d780138 100644
--- a/scripts/gcc-plugins/Kconfig
+++ b/scripts/gcc-plugins/Kconfig
@@ -9,7 +9,7 @@ menuconfig GCC_PLUGINS
bool "GCC plugins"
depends on HAVE_GCC_PLUGINS
depends on CC_IS_GCC
- depends on $(success,test -e $(shell,$(CC) -print-file-name=plugin)/include/plugin-version.h)
+ depends on $(success,test -e $(shell,$(HOSTCC) -print-file-name=plugin)/include/plugin-version.h)
default y
help
GCC plugins are loadable modules that provide extra features to the
diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
index 1952d3bb80c6..6aac404344a6 100644
--- a/scripts/gcc-plugins/Makefile
+++ b/scripts/gcc-plugins/Makefile
@@ -19,7 +19,7 @@ targets += randomize_layout_seed.h randomize_layout_hash.h
always-y += $(GCC_PLUGIN)
-GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
+GCC_PLUGINS_DIR = $(shell $(HOSTCXX) -print-file-name=plugin)
plugin_cxxflags = -Wp,-MMD,$(depfile) $(KBUILD_HOSTCXXFLAGS) -fPIC \
-include $(srctree)/include/linux/compiler-version.h \