aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-09-24 11:30:58 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-09-24 11:30:58 -0400
commit5b89acb35ed94cb9066598fa0eb4ac40f77c5cb4 (patch)
tree6beabe171dbd9e35bcaebcc6e6cc43198533dc62
parentf8be183487cb429e66e49a2cfd989847c9298a3e (diff)
parentf41fc970044b45802142a00243c11626acf942fa (diff)
downloadlinux-yocto-v5.13/standard/mti-malta32.tar.gz
linux-yocto-v5.13/standard/mti-malta32.tar.bz2
linux-yocto-v5.13/standard/mti-malta32.zip
Merge branch 'v5.13/standard/base' into v5.13/standard/mti-malta32v5.13/standard/mti-malta32
-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 \