aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-09-24 11:30:52 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-09-24 11:30:52 -0400
commit78adbb3413421cae45ad0d0c1567bf1c90014133 (patch)
tree1e4ebe3ce66da950d1b1a4c9c217b9c85de21d3d
parent482fd531f2e6ce11c2f2815b90e91452009f18ee (diff)
parentf41fc970044b45802142a00243c11626acf942fa (diff)
downloadlinux-yocto-v5.13/standard/arm-versatile-926ejs.tar.gz
linux-yocto-v5.13/standard/arm-versatile-926ejs.tar.bz2
linux-yocto-v5.13/standard/arm-versatile-926ejs.zip
Merge branch 'v5.13/standard/base' into v5.13/standard/arm-versatile-926ejsv5.13/standard/arm-versatile-926ejs
-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 \