summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-10 00:45:31 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-10 00:45:31 +0000
commite86fd1cf10856c51c75e9f4e374539143ef45797 (patch)
treed0e99632449aafdce6f659999458ce2f7ae5ae0a /eclass
parentMark 3.0.21b stable on ia64 (diff)
downloadgentoo-2-e86fd1cf10856c51c75e9f4e374539143ef45797.tar.gz
gentoo-2-e86fd1cf10856c51c75e9f4e374539143ef45797.tar.bz2
gentoo-2-e86fd1cf10856c51c75e9f4e374539143ef45797.zip
pass --with-sysroot to binutils to fix cross-compiles with gcc-4.1.0
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index bbdee553f022..d5556409e44e 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.55 2006/03/07 00:16:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.56 2006/03/10 00:45:31 vapier Exp $
# We install binutils into CTARGET-VERSION specific directories. This lets
# us easily merge multiple versions for multiple targets (if we wish) and
@@ -154,7 +154,7 @@ toolchain-binutils_src_compile() {
|| myconf="${myconf} --disable-nls"
use multitarget && myconf="${myconf} --enable-targets=all"
[[ -n ${CBUILD} ]] && myconf="${myconf} --build=${CBUILD}"
-# is_cross && myconf="${myconf} --with-sysroot=/usr/${CTARGET}"
+ is_cross && myconf="${myconf} --with-sysroot=/usr/${CTARGET}"
myconf="--prefix=/usr \
--host=${CHOST} \
--target=${CTARGET} \