- use the correct host compiler
This commit is contained in:
parent
8909333ce0
commit
26b4c3782b
@ -82,9 +82,11 @@ endif
|
||||
touch $@
|
||||
|
||||
$(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched
|
||||
(cd $(LINUX_HEADERS_UNPACK_DIR) ; \
|
||||
$(MAKE) ARCH=$(KERNEL_ARCH) CC="$(HOSTCC)" \
|
||||
INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install ; \
|
||||
(cd $(LINUX_HEADERS_UNPACK_DIR); \
|
||||
$(MAKE) ARCH=$(KERNEL_ARCH) \
|
||||
HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \
|
||||
HOSTCXX="$(HOSTCXX)" \
|
||||
INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install; \
|
||||
)
|
||||
touch $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user