From: Mike Frysinger Date: Sun, 16 Oct 2005 10:23:36 +0000 (+0000) Subject: add support for more CTARGET->libc bindings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29dd754fbb5312db9454c57bf741d8803454405c;p=gentoo.git add support for more CTARGET->libc bindings --- diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 94b6beb23f93..6b996075d2e2 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.211 2005/10/14 03:42:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.212 2005/10/16 10:23:36 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1155,9 +1155,12 @@ gcc_do_configure() { # disable a bunch of features or gcc goes boom local needed_libc="" case ${CTARGET} in - *-gnu) needed_libc=glibc;; - *-uclibc) needed_libc=uclibc;; - avr) confgcc="${confgcc} $(use_enable !static shared) --disable-threads";; + *-dietlibc) needed_libc=dietlibc;; + *-freebsd*) needed_libc=freebsd-lib;; + *-gnu) needed_libc=glibc;; + *-klibc) needed_libc=klibc;; + *-uclibc) needed_libc=uclibc;; + avr) confgcc="${confgcc} $(use_enable !static shared) --disable-threads";; esac if [[ -n ${needed_libc} ]] ; then if ! has_version ${CATEGORY}/${needed_libc} ; then