summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-06 03:53:24 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-06 03:53:24 +0000
commite02110575f357437b7383cfe42d2a46062f502f9 (patch)
tree7d4a16f3e415e148163e94a68a036eb324c822b5 /eclass
parentuse emake in src_test (diff)
downloadgentoo-2-e02110575f357437b7383cfe42d2a46062f502f9.tar.gz
gentoo-2-e02110575f357437b7383cfe42d2a46062f502f9.tar.bz2
gentoo-2-e02110575f357437b7383cfe42d2a46062f502f9.zip
we arent going to have a commit war -- get a patch in
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass13
1 files changed, 1 insertions, 12 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5d991e2c7767..8a8006965914 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.377 2009/01/06 03:49:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.378 2009/01/06 03:53:24 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1056,15 +1056,6 @@ do_gcc_rename_java_bins() {
die "Failed to fixup file ${jfile} for rename to grmic"
done
}
-unbreak_arm() {
- [[ ${CTARGET} == *eabi* ]] || return
- [[ ${CTARGET} == arm* ]] || return
- [[ ${CTARGET} == armv5* ]] && return
- [[ -e "${S}"/gcc/config/arm/linux-eabi.h ]] || return
- #armv4tl can do ebai as well. http://www.nabble.com/Re:--crosstool-ng--ARM-EABI-problem-p17164547.html
- #http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
- sed -i -e s/'define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi'/'define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi'/g "${S}"/gcc/config/arm/linux-eabi.h
-}
gcc_src_unpack() {
export BRANDING_GCC_PKGVERSION="Gentoo ${GCC_PVR}"
@@ -1148,8 +1139,6 @@ gcc_src_unpack() {
do_gcc_rename_java_bins
fi
- unbreak_arm
-
# Fixup libtool to correctly generate .la files with portage
cd "${S}"
elibtoolize --portage --shallow --no-uclibc