summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-07 00:16:31 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-07 00:16:31 +0000
commit7fe1902d6566ea196af7888403d6a63f15cb4727 (patch)
treef9f7e71c7fbba73d2cfa490a8e9f46a4d460dd72 /eclass
parentBetter digest (diff)
downloadhistorical-7fe1902d6566ea196af7888403d6a63f15cb4727.tar.gz
historical-7fe1902d6566ea196af7888403d6a63f15cb4727.tar.bz2
historical-7fe1902d6566ea196af7888403d6a63f15cb4727.zip
work with the union of po langs, not the intersection
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass14
1 files changed, 11 insertions, 3 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index e89e59d0bed3..bbdee553f022 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.54 2006/01/16 11:10:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.55 2006/03/07 00:16: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
@@ -128,8 +128,8 @@ tc-binutils_apply_patches() {
elibtoolize --portage --no-uclibc
# make sure we filter $LINGUAS so that only ones that
- # actually work with all the subdirs make it through
- strip-linguas -i */po
+ # actually work make it through #42033
+ strip-linguas -u */po
}
toolchain-binutils_src_unpack() {
@@ -140,6 +140,13 @@ toolchain-binutils_src_unpack() {
toolchain-binutils_src_compile() {
strip-flags && replace-flags -O3 -O2 #47581
+ local x
+ echo
+ for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do
+ einfo "$(printf '%10s' ${x}:) ${!x}"
+ done
+ echo
+
cd "${MY_BUILDDIR}"
local myconf=""
use nls \
@@ -147,6 +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}"
myconf="--prefix=/usr \
--host=${CHOST} \
--target=${CTARGET} \