Skip to contentSkip to conversation

svn commit: trunk/buildroot/toolchain/binutils

Buildroot aldot at uclibc.org 1 participant 1 message Dec 13, 2006

lore
Share & tools
lore
#0 lore raw

Author: aldot
Date: 2006-12-13 15:18:02 -0800 (Wed, 13 Dec 2006) New Revision: 16910

Log:
- Pass the correct compiler when building the target binutils.

Modified:
trunk/buildroot/toolchain/binutils/binutils.mk

Changeset:
Modified: trunk/buildroot/toolchain/binutils/binutils.mk
===================================================================

buildroot/toolchain/binutils/binutils.mk +1 -0
@@ -101,6 +101,7 @@
 $(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR)/.patched
 	mkdir -p $(BINUTILS_DIR2)
 	(cd $(BINUTILS_DIR2); \
+		CC_FOR_BUILD="$(HOSTCC)" \
 		PATH=$(TARGET_PATH) \
 		CFLAGS="$(TARGET_CFLAGS)" \
 		CFLAGS_FOR_BUILD="-O2 -g" \