summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-20 22:25:42 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-20 22:25:42 +0000
commit15950a617ef9b9952534c1a18c1b0fcd5d2d46f2 (patch)
tree490869395dcfcab9095f15cf01eacd28af934975 /toolchain
parent6d9af11c8cb11d5deb4f53649c7b96faba88df47 (diff)
[toolchain] we have a minimal gcc target compiler since [13931], so use it in uClibc headers generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14123 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 0c01a25b5..8578ff0a1 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