- pass the correct CC down to gcc-version.sh
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 13 Dec 2006 18:24:48 +0000 (18:24 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 13 Dec 2006 18:24:48 +0000 (18:24 -0000)
toolchain/kernel-headers/kernel-headers-new.makefile

index 25f61f9255659b33fe265db1a818ad45821863f7..c3eca5b72d802a3b42fa0cb333a9fa7560acd265 100644 (file)
@@ -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