diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-13 23:18:02 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-13 23:18:02 +0000 |
commit | 7fb0f70a5ae85a1afb84657376cd44788a8e97ff (patch) | |
tree | c8804b4e3fa3d69072ff647f37113c53a5c94398 | |
parent | 819ef8072b194fabbca9260268b299747b7b4fb1 (diff) |
- Pass the correct compiler when building the target binutils.
-rw-r--r-- | toolchain/binutils/binutils.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/binutils/binutils.mk b/toolchain/binutils/binutils.mk index 590935fa8..29445ceb6 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" \ |