summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/uClibc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 0c01a25b54..8578ff0a15 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -130,6 +130,7 @@ define Build/Prepare
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \
HOSTCC="$(HOSTCC)" \
+ CC="$(TARGET_CC)" \
CPU_CFLAGS="$(TARGET_CFLAGS)" \
pregen install_dev;
endef