summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/uclibc/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 7346b965e..49050e980 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -68,14 +68,14 @@ endif
PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
- HOSTCC="$(CC_FOR_BUILD)" \
+ HOSTCC="$(HOST_CC)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
oldconfig
$(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \
PREFIX=$(STAGING_TARGET_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
- HOSTCC="$(CC_FOR_BUILD)" \
+ HOSTCC="$(HOST_CC)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
install_headers
touch $(WRKBUILD)/.configured
@@ -86,7 +86,7 @@ $(WRKBUILD)/.compiled:
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
- HOSTCC="$(CC_FOR_BUILD)" \
+ HOSTCC="$(HOST_CC)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
all
touch $@