summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-16 10:23:36 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-16 10:23:36 +0000
commit29dd754fbb5312db9454c57bf741d8803454405c (patch)
treeba06a94250b9619f1a0b6ec300193cd48e370206 /eclass/toolchain.eclass
parentDisabled pie on hppa (#109119). (diff)
downloadhistorical-29dd754fbb5312db9454c57bf741d8803454405c.tar.gz
historical-29dd754fbb5312db9454c57bf741d8803454405c.tar.bz2
historical-29dd754fbb5312db9454c57bf741d8803454405c.zip
add support for more CTARGET->libc bindings
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass11
1 files changed, 7 insertions, 4 deletions
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