summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-05 23:14:17 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-05 23:14:17 +0000
commit9820984b2f9850e519048fddd851fc07adc6f969 (patch)
treea2f1cc35c9dd3544c64886ebf8d4d0862bb7e369 /eclass
parentVersion bumping; Resolves bug #111039 (diff)
downloadgentoo-2-9820984b2f9850e519048fddd851fc07adc6f969.tar.gz
gentoo-2-9820984b2f9850e519048fddd851fc07adc6f969.tar.bz2
gentoo-2-9820984b2f9850e519048fddd851fc07adc6f969.zip
remove USE=static #85318
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass14
1 files changed, 4 insertions, 10 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index b7247ad718a1..2eca6581c7fb 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.214 2005/11/04 02:32:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.215 2005/11/05 23:14:17 vapier Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -126,7 +126,7 @@ if [[ ${ETYPE} == "gcc-library" ]] ; then
IUSE="nls build"
SLOT="${CTARGET}-${SO_VERSION_SLOT:-5}"
else
- IUSE="altivec bootstrap build fortran gcj gtk hardened ip28 multilib multislot n32 n64 nls nocxx objc static vanilla"
+ IUSE="altivec bootstrap build fortran gcj gtk hardened ip28 multilib multislot n32 n64 nls nocxx objc vanilla"
[[ -n ${PIE_VER} ]] && IUSE="${IUSE} nopie"
[[ -n ${PP_VER} ]] && IUSE="${IUSE} nossp"
[[ -n ${HTB_VER} ]] && IUSE="${IUSE} boundschecking"
@@ -1170,7 +1170,7 @@ gcc_do_configure() {
*-gnu) needed_libc=glibc;;
*-klibc) needed_libc=klibc;;
*-uclibc) needed_libc=uclibc;;
- avr) confgcc="${confgcc} $(use_enable !static shared) --disable-threads";;
+ avr) confgcc="${confgcc} --enable-shared --disable-threads";;
esac
if [[ -n ${needed_libc} ]] ; then
if ! has_version ${CATEGORY}/${needed_libc} ; then
@@ -1180,7 +1180,7 @@ gcc_do_configure() {
fi
fi
else
- confgcc="${confgcc} $(use_enable !static shared) --enable-threads=posix"
+ confgcc="${confgcc} --enable-shared --enable-threads=posix"
fi
# __cxa_atexit is "essential for fully standards-compliant handling of
# destructors", but apparently requires glibc.
@@ -1244,12 +1244,6 @@ gcc_do_configure() {
# Travis Tilley <lv@gentoo.org> (04 Sep 2004)
#
gcc_do_make() {
- # Only build it static if we are just building the C frontend, else
- # a lot of things break because there are not libstdc++.so ....
- if use static && [[ ${GCC_LANG} == "c" ]] ; then
- append-ldflags -static
- fi
-
# Fix for libtool-portage.patch
local OLDS=${S}
S=${WORKDIR}/build