From a9b6470acdfb124f080a8a4baef374be690918a6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 7 Jan 2007 11:39:08 +0000 Subject: [PATCH] no one uses tc-endian() so just cut it ... people should be handling endian in the source code itself anyways, not in the ebuild --- eclass/toolchain-funcs.eclass | 27 +-------------------------- 1 file changed, 1 insertion(+), 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 # @@ -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() { -- 2.26.2