summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-07 11:39:08 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-07 11:39:08 +0000
commitdf69e75018d78a6e6bbfdb661d66209a07e9281f (patch)
tree026de4bc44ff4b2a88788dbb08ddf64092faf40d /eclass
parentNew version. (diff)
downloadgentoo-2-df69e75018d78a6e6bbfdb661d66209a07e9281f.tar.gz
gentoo-2-df69e75018d78a6e6bbfdb661d66209a07e9281f.tar.bz2
gentoo-2-df69e75018d78a6e6bbfdb661d66209a07e9281f.zip
no one uses tc-endian() so just cut it ... people should be handling endian in the source code itself anyways, not in the ebuild
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-funcs.eclass27
1 files changed, 1 insertions, 26 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index baf0a570e58f..1092b08bdafa 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.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-funcs.eclass,v 1.63 2006/12/16 10:31:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.64 2007/01/07 11:39:08 vapier Exp $
#
# Author: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -152,31 +152,6 @@ tc-arch-kernel() {
tc-arch() {
tc-ninja_magic_to_arch portage $@
}
-tc-endian() {
- local host=$1
- [[ -z ${host} ]] && host=${CTARGET:-${CHOST}}
- host=${host%%-*}
-
- case ${host} in
- alpha*) echo big;;
- arm*b*) echo big;;
- arm*) echo little;;
- cris*) echo little;;
- hppa*) echo big;;
- i?86*) echo little;;
- ia64*) echo little;;
- m68*) echo big;;
- mips*l*) echo little;;
- mips*) echo big;;
- powerpc*) echo big;;
- s390*) echo big;;
- sh*b*) echo big;;
- sh*) echo little;;
- sparc*) echo big;;
- x86_64*) echo little;;
- *) echo wtf;;
- esac
-}
# Returns the version as by `$CC -dumpversion`
gcc-fullversion() {