From 7fb0f70a5ae85a1afb84657376cd44788a8e97ff Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 13 Dec 2006 23:18:02 +0000 Subject: [PATCH] - Pass the correct compiler when building the target binutils. --- toolchain/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index 590935fa89..29445ceb6f 100644 --- a/toolchain/binutils/binutils.mk +++ b/toolchain/binutils/binutils.mk @@ -101,6 +101,7 @@ BINUTILS_DIR2:=$(BUILD_DIR)/binutils-$(BINUTILS_VERSION)-target $(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" \ -- 2.30.2