summaryrefslogtreecommitdiffstats
path: root/make/uclibc.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-02-27 19:24:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-02-27 19:24:22 +0000
commit486640aadbcb36c3e99e5d3ec85e9412afe9dc67 (patch)
treef984efc071d7cecf4a6ad0190eb8fac01ed2d9e9 /make/uclibc.mk
parent27a666fa3ab228055523d751a9a4446ead63c96e (diff)
downloadbuildroot-novena-486640aadbcb36c3e99e5d3ec85e9412afe9dc67.tar.gz
buildroot-novena-486640aadbcb36c3e99e5d3ec85e9412afe9dc67.zip
Patch from Lauri Leukkunen:
Control the HOSTCC for the uclibc configuration procedure
Diffstat (limited to 'make/uclibc.mk')
-rw-r--r--make/uclibc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/uclibc.mk b/make/uclibc.mk
index ebe90591d..22db81341 100644
--- a/make/uclibc.mk
+++ b/make/uclibc.mk
@@ -80,6 +80,7 @@ endif
PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
+ HOSTCC="$(HOSTCC)" \
pregen install_dev;
touch $(UCLIBC_DIR)/.configured
@@ -88,6 +89,7 @@ $(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(LIBFLOAT_TARGET)
PREFIX= \
DEVEL_PREFIX=$(REAL_GNU_TARGET_NAME)/ \
RUNTIME_PREFIX=/ \
+ HOSTCC="$(HOSTCC)" \
all
$(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
@@ -103,6 +105,7 @@ $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib/libc.a: $(UCLIBC_DIR)/lib/libc.a
install_dev
$(MAKE) -C $(UCLIBC_DIR) \
PREFIX=$(STAGING_DIR) \
+ HOSTCC="$(HOSTCC)" \
utils install_utils
# Clean up the host compiled utils...
$(MAKE) -C $(UCLIBC_DIR)/utils clean