diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-04 17:22:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-04 17:22:16 +0000 |
commit | 96cae7c9c6ba2d4c822aacd444ec6d9862d173f5 (patch) | |
tree | db94aac529be3a2cd1fdb3b3583c20fb60034b41 /eclass | |
parent | revert arm sed junk ... this needs to be a patch, not sed in the toolchain.ec... (diff) | |
download | gentoo-2-96cae7c9c6ba2d4c822aacd444ec6d9862d173f5.tar.gz gentoo-2-96cae7c9c6ba2d4c822aacd444ec6d9862d173f5.tar.bz2 gentoo-2-96cae7c9c6ba2d4c822aacd444ec6d9862d173f5.zip |
neuter bindnow-flags even more
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index b8a41ee43ccc..204bc2827ab5 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.128 2009/01/02 22:14:18 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.129 2009/01/04 17:22:16 vapier Exp $ # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -694,21 +694,7 @@ raw-ldflags() { # @DESCRIPTION: # DEPRECATED - Gets the flags needed for "NOW" binding bindnow-flags() { - ewarn "QA: stop using the bindnow-flags function ... simply drop it from your ebuild" >&2 - - case $($(tc-getLD) -v 2>&1 </dev/null) in - *GNU* | *'with BFD'*) # GNU ld - echo "-Wl,-z,now" ;; - *Apple*) # Darwin ld - echo "-bind_at_load" ;; - *) - # Some linkers just recognize -V instead of -v - case $($(tc-getLD) -V 2>&1 </dev/null) in - *Solaris*) # Solaris accept almost the same GNU options - echo "-Wl,-z,now" ;; - esac - ;; - esac + ewarn "QA: stop using the bindnow-flags function ... simply drop it from your ebuild" } |