/[gentoo-x86]/eclass/toolchain.eclass
Gentoo

Diff of /eclass/toolchain.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.370 Revision 1.371
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.370 2008/12/29 16:40:54 armin76 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.371 2008/12/29 22:46:32 vapier Exp $
4# 4#
5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org> 5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
6 6
7HOMEPAGE="http://gcc.gnu.org/" 7HOMEPAGE="http://gcc.gnu.org/"
8LICENSE="GPL-2 LGPL-2.1" 8LICENSE="GPL-2 LGPL-2.1"
1466 # default target 1466 # default target
1467 if is_crosscompile || tc-is-cross-compiler ; then 1467 if is_crosscompile || tc-is-cross-compiler ; then
1468 # 3 stage bootstrapping doesnt quite work when you cant run the 1468 # 3 stage bootstrapping doesnt quite work when you cant run the
1469 # resulting binaries natively ^^; 1469 # resulting binaries natively ^^;
1470 GCC_MAKE_TARGET=${GCC_MAKE_TARGET-all} 1470 GCC_MAKE_TARGET=${GCC_MAKE_TARGET-all}
1471 elif [[ $(tc-arch) == "x86" || $(tc-arch) == "amd64" ]] \
1472 && [[ ${GCCMAJOR}.${GCCMINOR} > 3.3 ]]
1473 then
1474 GCC_MAKE_TARGET=${GCC_MAKE_TARGET-profiledbootstrap}
1475 else 1471 else
1476 GCC_MAKE_TARGET=${GCC_MAKE_TARGET-bootstrap-lean} 1472 GCC_MAKE_TARGET=${GCC_MAKE_TARGET-bootstrap-lean}
1477 fi 1473 fi
1478 1474
1479 # the gcc docs state that parallel make isnt supported for the 1475 # the gcc docs state that parallel make isnt supported for the

Legend:
Removed from v.1.370  
changed lines
  Added in v.1.371

  ViewVC Help
Powered by ViewVC 1.1.20