From 26b4c3782b0d6b75e1dc4985a5714cf68566b0a8 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 22 Aug 2007 09:20:33 +0000 Subject: [PATCH] - use the correct host compiler --- toolchain/kernel-headers/kernel-headers-new.makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index 1a8a83fde8..e1cc429bdc 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -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 $@ -- 2.30.2