From 3f684225a329ea2ab72e9cc66079278647e9df09 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 13 Dec 2006 18:24:48 +0000 Subject: - pass the correct CC down to gcc-version.sh --- toolchain/kernel-headers/kernel-headers-new.makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index 25f61f925..c3eca5b72 100644 --- a/toolchain/kernel-headers/kernel-headers-new.makefile +++ b/toolchain/kernel-headers/kernel-headers-new.makefile @@ -34,7 +34,9 @@ $(LINUX_HEADERS_UNPACK_DIR)/.patched: $(LINUX_HEADERS_UNPACK_DIR)/.unpacked $(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_UNPACK_DIR)/.patched (cd $(LINUX_HEADERS_UNPACK_DIR) ; \ - $(MAKE) ARCH=$(KERNEL_ARCH) INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install) + $(MAKE) ARCH=$(KERNEL_ARCH) CC="$(HOSTCC)" \ + INSTALL_HDR_PATH=$(LINUX_HEADERS_DIR) headers_install ; \ + ) touch $(LINUX_HEADERS_DIR)/.configured endif -- cgit v1.2.3