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

Diff of /eclass/toolchain.eclass

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

Revision 1.509 Revision 1.510
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.509 2011/12/08 22:38:33 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.510 2011/12/10 08:55:37 vapier Exp $
4# 4#
5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org> 5# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
6 6
7#---->> eclass stuff <<---- 7#---->> eclass stuff <<----
8HOMEPAGE="http://gcc.gnu.org/" 8HOMEPAGE="http://gcc.gnu.org/"
1176 confgcc+=" --enable-__cxa_atexit" 1176 confgcc+=" --enable-__cxa_atexit"
1177 ;; 1177 ;;
1178 esac 1178 esac
1179 tc_version_is_at_least 3.4 || confgcc+=" --disable-libunwind-exceptions" 1179 tc_version_is_at_least 3.4 || confgcc+=" --disable-libunwind-exceptions"
1180 1180
1181 # create a sparc*linux*-{gcc,g++} that can handle -m32 and -m64 (biarch) 1181 # if the target can do biarch (-m32/-m64), enable it. overhead should
1182 if [[ ${CTARGET} == sparc*linux* ]] \ 1182 # be small, and should simplify building of 64bit kernels in a 32bit
1183 && is_multilib \ 1183 # userland by not needing sys-devel/kgcc64. #349405
1184 && ! is_crosscompile \ 1184 case $(tc-arch) in
1185 && tc_version_is_at_least 4.3 1185 ppc|ppc64) tc_version_is_at_least 3.4 && confgcc+=" --enable-targets=all" ;;
1186 then 1186 sparc) tc_version_is_at_least 4.4 && confgcc+=" --enable-targets=all" ;;
1187 confgcc+=" --enable-targets=all" 1187 amd64|x86) tc_version_is_at_least 4.3 && confgcc+=" --enable-targets=all" ;;
1188 fi 1188 esac
1189 1189
1190 tc_version_is_at_least 4.3 && set -- "$@" \ 1190 tc_version_is_at_least 4.3 && set -- "$@" \
1191 --with-bugurl=http://bugs.gentoo.org/ \ 1191 --with-bugurl=http://bugs.gentoo.org/ \
1192 --with-pkgversion="${BRANDING_GCC_PKGVERSION}" 1192 --with-pkgversion="${BRANDING_GCC_PKGVERSION}"
1193 set -- ${confgcc} "$@" ${EXTRA_ECONF} 1193 set -- ${confgcc} "$@" ${EXTRA_ECONF}

Legend:
Removed from v.1.509  
changed lines
  Added in v.1.510

  ViewVC Help
Powered by ViewVC 1.1.20