summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 09:20:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 09:20:33 +0000
commit26b4c3782b0d6b75e1dc4985a5714cf68566b0a8 (patch)
tree32f32819ebae145a48009d42b4ecff6845787513
parent8909333ce02db980c06628f8075cf85d5d16b67b (diff)
downloadbuildroot-novena-26b4c3782b0d6b75e1dc4985a5714cf68566b0a8.tar.gz
buildroot-novena-26b4c3782b0d6b75e1dc4985a5714cf68566b0a8.zip
- use the correct host compiler
-rw-r--r--toolchain/kernel-headers/kernel-headers-new.makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/toolchain/kernel-headers/kernel-headers-new.makefile b/toolchain/kernel-headers/kernel-headers-new.makefile
index 1a8a83fde..e1cc429bd 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 $@