aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYihuan Pan <xun794@gmail.com>2023-09-28 16:55:28 +0800
committerxun <xun794@gmail.com>2023-10-29 22:07:05 +0800
commit7b85c70b29e07fee8b2f9b3e016f824c1f4f17f0 (patch)
tree61aa41b18a096b33fdb49c2588b82b429bfe513c
parentb1be513198c32f33e3cd198f468bf2ecd016db71 (diff)
downloadopenEuler-kernel-7b85c70b29e07fee8b2f9b3e016f824c1f4f17f0.tar.gz
objtool: Always want host compilation.
openEuler inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8B8HU CVE: NA ------------------------------- Ensure that the 'libcmd' library is always compiled locally in the host environment. Signed-off-by: Yihuan Pan <xun794@gmail.com>
-rw-r--r--tools/objtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index 623f546b2207df..b416e98cd6104c 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -69,7 +69,7 @@ $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN)
$(LIBSUBCMD): fixdep FORCE
- $(Q)$(MAKE) -C $(SUBCMD_SRCDIR) OUTPUT=$(LIBSUBCMD_OUTPUT)
+ $(Q)$(MAKE) -C $(SUBCMD_SRCDIR) OUTPUT=$(LIBSUBCMD_OUTPUT) AR=$(AR) CC=$(CC) LD=$(LD)
clean:
$(call QUIET_CLEAN, objtool) $(RM) $(OBJTOOL)