From 55c47c9e1904f8017aa136275f6a3c277e5b2059 Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Fri, 13 Jan 2006 19:00:17 +0000 Subject: As this does not solve the problem for FreeBSD 6.0 update, don't disable shared libraries in FreeBSD. Other ways will be tried. --- eclass/toolchain.eclass | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 02aaf1b6ac9c..f51d071e96ca 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.242 2006/01/13 10:38:16 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.243 2006/01/13 19:00:17 flameeyes Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1213,15 +1213,7 @@ gcc_do_configure() { fi fi else - confgcc="${confgcc} --enable-threads=posix" - - # FreeBSD (and maybe not only that) does not support --as-needed flag - # that's used to link against libgcc_s only when needed, thus breaking - # when linking different libc versions. Disable it for safety. - case ${CTARGET} in - *-freebsd*) confgcc="${confgcc} --disable-shared" ;; - *) confgcc="${confgcc} --enable-shared" ;; - esac + confgcc="${confgcc} --enable-shared --enable-threads=posix" fi # __cxa_atexit is "essential for fully standards-compliant handling of # destructors", but apparently requires glibc. -- cgit v1.2.3-65-gdbad