From: Bernhard Reutner-Fischer Date: Wed, 13 Dec 2006 18:24:48 +0000 (-0000) Subject: - pass the correct CC down to gcc-version.sh X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f684225a329ea2ab72e9cc66079278647e9df09;p=buildroot.git - pass the correct CC down to gcc-version.sh --- diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile index 25f61f9255..c3eca5b72d 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