summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-28 12:42:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-04-28 12:42:00 +0000
commitf79ac29bc9a699ec04eea7dfce8cabfe02c64258 (patch)
treecc338ec4fe8391238b6031f32d7d244dd597278a
parenthardened-sources-2.6.14-r8 (diff)
downloadhistorical-f79ac29bc9a699ec04eea7dfce8cabfe02c64258.tar.gz
historical-f79ac29bc9a699ec04eea7dfce8cabfe02c64258.tar.bz2
historical-f79ac29bc9a699ec04eea7dfce8cabfe02c64258.zip
Remove entirely filtering of --as-needed. If you want to use it, just use binutils 2.16.92. Closes bug #131218.
-rw-r--r--eclass/wxlib.eclass10
-rw-r--r--eclass/wxwidgets.eclass13
2 files changed, 2 insertions, 21 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 \
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index 20b138431a87..f786a9e56056 100644
--- a/eclass/wxwidgets.eclass
+++ b/eclass/wxwidgets.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/wxwidgets.eclass,v 1.16 2006/04/21 20:36:17 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/wxwidgets.eclass,v 1.17 2006/04/28 12:42:00 flameeyes Exp $
#
# Author Rob Cakebread <pythonhead@gentoo.org>
@@ -49,17 +49,6 @@ need-wxwidgets() {
exit 1;;
esac
fi
-
- 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.)
-
- if [[ $ldmaj -lt 1 || ( $ldmaj == 2 && $ldmin < 16 && $ldmicro < 92 ) ]]; then
- filter-ldflags -Wl,--as-needed --as-needed
- filter-flags -Wl,--as-needed --as-needed
- fi
}