summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-08 12:32:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-01-08 12:32:44 +0000
commit4f48b8f301bcc098adf45f1bc23fee8f3b6234d0 (patch)
tree85ffcd1ab21b33b2930c0591b8b848a15f4d844e /eclass
parentRemove retiring dev from metadata. (diff)
downloadhistorical-4f48b8f301bcc098adf45f1bc23fee8f3b6234d0.tar.gz
historical-4f48b8f301bcc098adf45f1bc23fee8f3b6234d0.tar.bz2
historical-4f48b8f301bcc098adf45f1bc23fee8f3b6234d0.zip
Play it safe, disable shared version of libgcc on every freebsd target.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 6598bcdbfe1c..e0224480a9cd 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.240 2006/01/06 14:16:52 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.241 2006/01/08 12:32:44 flameeyes Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1217,11 +1217,10 @@ gcc_do_configure() {
# 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. As version 5 requires to change
- # libc version, disable shared for that version.
+ # when linking different libc versions. Disable it for safety.
case ${CTARGET} in
- *-freebsd5.*) confgcc="${confgcc} --disable-shared" ;;
- *) confgcc="${confgcc} --enable-shared" ;;
+ *-freebsd*) confgcc="${confgcc} --disable-shared" ;;
+ *) confgcc="${confgcc} --enable-shared" ;;
esac
fi
# __cxa_atexit is "essential for fully standards-compliant handling of