summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uclibc-ng')
-rw-r--r--toolchain/uclibc-ng/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index 71edbf1b4..526009a24 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -290,6 +290,7 @@ endif
$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
PATH='$(HOST_PATH)' $(MAKE) $(UCLIBC_MAKEOPTS) -C $(WRKBUILD) \
+ HOSTCC="$(HOST_CC)" \
CC='$(TARGET_CC)' \
PREFIX= \
DEVEL_PREFIX=/usr/ \
@@ -303,6 +304,7 @@ $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
+ HOSTCC="$(HOST_CC)" \
CC='$(TARGET_CC)' \
PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
@@ -313,6 +315,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
VERBOSE=1 \
install_runtime install_dev
PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
+ HOSTCC="$(HOST_CC)" \
CC='$(TARGET_CC)' \
PREFIX= \
DEVEL_PREFIX=/usr/ \