diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-06-01 08:56:56 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-06-01 08:56:56 +0000 |
commit | 594c03f09e199ed05f4bea92c30e96d456857476 (patch) | |
tree | d701184ee074ff63fe0c5c689f1dd3c67e3bb1e1 /eclass | |
parent | add missing IUSE as per bug #224375, remove old versions (diff) | |
download | historical-594c03f09e199ed05f4bea92c30e96d456857476.tar.gz historical-594c03f09e199ed05f4bea92c30e96d456857476.tar.bz2 historical-594c03f09e199ed05f4bea92c30e96d456857476.zip |
Fix tc-arch-kernel for freebsd: it is still i386 there, bug #222715
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index bc97cefe0e04..b0c60c369246 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.76 2008/04/16 14:16:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.77 2008/06/01 08:56:56 aballier Exp $ # @ECLASS: toolchain-funcs.eclass # @MAINTAINER: @@ -173,7 +173,8 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; } i?86*) # Starting with linux-2.6.24, the 'x86_64' and 'i386' # trees have been unified into 'x86'. - if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) ]] ; then + # FreeBSD still uses i386 + if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then echo i386 else echo x86 |