summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-28 03:55:36 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-28 03:55:36 +0000
commite6b6dceed3cb12e2aad863f8fe9134fc4b73d7c7 (patch)
tree8489a37877888118816259617ae46e55d8f18150 /make
parentc5eab029dd8b57517618bb4ec72107501166ee7a (diff)
Fix build
Diffstat (limited to 'make')
-rw-r--r--make/uclibc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index 88ef5df54..753363b7b 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -54,7 +54,7 @@ LINUX_DIR:=$(BUILD_DIR)/linux
endif
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
- perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCROSS=,g' $(UCLIBC_DIR)/Rules.mak
+ perl -i -p -e 's,^CROSS=.*,TARGET_ARCH=$(ARCH)\nCC=$(HOSTCC),g' $(UCLIBC_DIR)/Rules.mak
cp $(SOURCE_DIR)/uClibc.config $(UCLIBC_DIR)/.config
perl -i -p -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_DIR)\",g' $(UCLIBC_DIR)/.config
perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"$(STAGING_DIR)\",g' $(UCLIBC_DIR)/.config