summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-09-09 22:29:29 +0000
committerMike Frysinger <vapier@gentoo.org>2014-09-09 22:29:29 +0000
commit11fa16a6798650835f551d2f6e054d6efd2dc654 (patch)
tree4b93ed7259effdf492c04a619409ce6443ac2ed4 /eclass
parentLinux patch 3.16.2 (diff)
downloadgentoo-2-11fa16a6798650835f551d2f6e054d6efd2dc654.tar.gz
gentoo-2-11fa16a6798650835f551d2f6e054d6efd2dc654.tar.bz2
gentoo-2-11fa16a6798650835f551d2f6e054d6efd2dc654.zip
avoid static linking of libstdc++ and libgcc
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain-binutils.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 49be70f91224..d413990b135e 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.134 2014/08/11 13:32:35 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.135 2014/09/09 22:29:29 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -306,6 +306,9 @@ toolchain-binutils_src_configure() {
${EXTRA_ECONF}
# Disable modules that are in a combined binutils/gdb tree. #490566
--disable-{gdb,libdecnumber,readline,sim}
+ # Strip out broken static link flags.
+ # https://gcc.gnu.org/PR56750
+ --without-stage1-ldflags
)
echo ./configure "${myconf[@]}"
"${S}"/configure "${myconf[@]}" || die