aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-03-26 21:41:43 -0700
committerAndrew Hsieh <andrewhsieh@google.com>2013-03-26 21:41:43 -0700
commit4ecf441b08bb3f039e3836b7517f079be70583ad (patch)
tree69411871cfd68f837d99b8c8bd6cbac58bf7939f
parent1104ace93b96fa87752eb8198a772592c0846bdd (diff)
downloadbuild-4ecf441b08bb3f039e3836b7517f079be70583ad.tar.gz
Define READELF_FOR_TARGET in gcc build
Otherwise realelf won't be found in darwin, and cause some backend to misbehave. READELF_FOR_TARGET appears in gcc-4.7, but is backported to gcc-4.6 as well. Change-Id: Ia45b3ce046cc68a40862be8f5a906606d2fd0665
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c0c7ee2..9a86d55 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -132,7 +132,8 @@ export AS_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/gas/as-new \
NM_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/binutils/nm-new \
STRIP_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/binutils/strip-new \
RANLIB_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/binutils/ranlib \
- OBJDUMP_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/binutils/objdump
+ OBJDUMP_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/binutils/objdump \
+ READELF_FOR_TARGET=$(TARGET_BINUTILS_BUILDDIR)/binutils/readelf
TARGET_MINIMAL_GCC_EXPORTS= \
export CC_FOR_TARGET="$(TARGET_GCC_BUILDDIR)/gcc/xgcc \