summaryrefslogtreecommitdiff
path: root/toolchain/uclibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-17 19:41:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-17 19:41:42 +0200
commit035c247c0d5a83cfc8fc84d100af7324ca0c36f9 (patch)
treef719be358467d8f25128816ff408537a66f17d39 /toolchain/uclibc/Makefile
parent7b64fbab763834c4d39d434e4b211f50bbf400db (diff)
fix toolchain building, uclibc
Diffstat (limited to 'toolchain/uclibc/Makefile')
-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 $@