From 8db368850cba19279783574e4e3d60840558f5f0 Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Tue, 20 Jan 2009 22:25:42 +0000
Subject: [PATCH] we have a minimal gcc target compiler since [13931], so use
 it in uClibc headers generation

SVN-Revision: 14123
---
 toolchain/uClibc/Makefile | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.30.2