summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-15 11:33:58 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-15 11:33:58 +0000
commit0b5c74f71e820c1e5f7330db73d7ae3166422e78 (patch)
tree249f69d352a936179a3dd60b58ec7a343e737114 /eclass/toolchain-binutils.eclass
parentdev-perl/Graph stable on ppc. (diff)
downloadgentoo-2-0b5c74f71e820c1e5f7330db73d7ae3166422e78.tar.gz
gentoo-2-0b5c74f71e820c1e5f7330db73d7ae3166422e78.tar.bz2
gentoo-2-0b5c74f71e820c1e5f7330db73d7ae3166422e78.zip
fix building elf2flt for blackfin (and possibly others)
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index b9e922f4785f..262d58e6b1a8 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.52 2006/01/12 00:41:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.53 2006/01/15 11:33:58 vapier Exp $
# We install binutils into CTARGET-VERSION specific directories. This lets
# us easily merge multiple versions for multiple targets (if we wish) and
@@ -192,6 +192,7 @@ toolchain-binutils_src_compile() {
done
if [[ ${x} != "UNSUPPORTED" ]] ; then
+ append-flags -I"${S}"/include
myconf="--with-bfd-include-dir=${MY_BUILDDIR}/bfd \
--with-libbfd=${MY_BUILDDIR}/bfd/.libs/libbfd.so \
--with-libiberty=${MY_BUILDDIR}/libiberty/libiberty.a \