diff options
author | 2006-04-28 12:42:00 +0000 | |
---|---|---|
committer | 2006-04-28 12:42:00 +0000 | |
commit | 8c551bb5be08dee4cc9153bbd41ee06b966bf93c (patch) | |
tree | f309a415b127f55cecb302942567c0f0c13ac011 /eclass/wxlib.eclass | |
parent | hardened-sources-2.6.14-r8 (diff) | |
download | gentoo-2-8c551bb5be08dee4cc9153bbd41ee06b966bf93c.tar.gz gentoo-2-8c551bb5be08dee4cc9153bbd41ee06b966bf93c.tar.bz2 gentoo-2-8c551bb5be08dee4cc9153bbd41ee06b966bf93c.zip |
Remove entirely filtering of --as-needed. If you want to use it, just use binutils 2.16.92. Closes bug #131218.
Diffstat (limited to 'eclass/wxlib.eclass')
-rw-r--r-- | eclass/wxlib.eclass | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/eclass/wxlib.eclass b/eclass/wxlib.eclass index d490dad0900b..e3b2f721c8ad 100644 --- a/eclass/wxlib.eclass +++ b/eclass/wxlib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/wxlib.eclass,v 1.14 2006/04/21 20:36:17 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/wxlib.eclass,v 1.15 2006/04/28 12:42:00 flameeyes Exp $ # Author Diego Pettenò <flameeyes@gentoo.org> # Maintained by wxwidgets herd @@ -66,14 +66,6 @@ configure_build() { # as building the unicode version required redoing it. # It takes all the params and passes them to the script subconfigure() { - local ldver=$( $(tc-getLD) --version | head -n 1 | \ - sed -e 's:.*version \([0-9.]\+\) .*:\1:') - local ldmaj=$(echo $ldver | cut -f1 -d.) - local ldmin=$(echo $ldver | cut -f2 -d.) - local ldmicro=$(echo $ldver | cut -f3 -d.) - - [[ $ldmaj -lt 1 || ( $ldmaj == 2 && $ldmin < 16 && $ldmicro < 92 ) ]] && filter-ldflags -Wl,--as-needed --as-needed - ECONF_SOURCE="${S}" \ econf \ --disable-precomp-headers \ |