diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-13 19:00:17 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-01-13 19:00:17 +0000 |
commit | 55c47c9e1904f8017aa136275f6a3c277e5b2059 (patch) | |
tree | 47e314fb49c9214024fae41259f73e165cc0d530 /eclass | |
parent | Marking stable sparc x86 (diff) | |
download | gentoo-2-55c47c9e1904f8017aa136275f6a3c277e5b2059.tar.gz gentoo-2-55c47c9e1904f8017aa136275f6a3c277e5b2059.tar.bz2 gentoo-2-55c47c9e1904f8017aa136275f6a3c277e5b2059.zip |
As this does not solve the problem for FreeBSD 6.0 update, don't disable shared libraries in FreeBSD. Other ways will be tried.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 12 |
1 files 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. |