OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
objtool: Fix 64-bit build on 32-bit host
[uclinux-h8/linux.git]
/
tools
/
objtool
/
Makefile
diff --git
a/tools/objtool/Makefile
b/tools/objtool/Makefile
index
0f94af3
..
ae0272f
100644
(file)
--- a/
tools/objtool/Makefile
+++ b/
tools/objtool/Makefile
@@
-7,9
+7,11
@@
ARCH := x86
endif
# always use the host compiler
-CC = gcc
-LD = ld
-AR = ar
+HOSTCC ?= gcc
+HOSTLD ?= ld
+CC = $(HOSTCC)
+LD = $(HOSTLD)
+AR = ar
ifeq ($(srctree),)
srctree := $(patsubst %/,%,$(dir $(CURDIR)))