/[gentoo-x86]/eclass/flag-o-matic.eclass
Gentoo

Diff of /eclass/flag-o-matic.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.121 Revision 1.122
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.121 2008/02/16 22:43:04 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.122 2008/02/18 18:20:47 swegener Exp $
4 4
5# @ECLASS: flag-o-matic.eclass 5# @ECLASS: flag-o-matic.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# toolchain@gentoo.org 7# toolchain@gentoo.org
8# @BLURB: common functions to manipulate and query toolchain flags 8# @BLURB: common functions to manipulate and query toolchain flags
612# @FUNCTION: bindnow-flags 612# @FUNCTION: bindnow-flags
613# @RETURN: Returns the flags to enable "now" binding in the current selected linker. 613# @RETURN: Returns the flags to enable "now" binding in the current selected linker.
614# @DESCRIPTION: 614# @DESCRIPTION:
615# DEPRECATED - Gets the flags needed for "NOW" binding 615# DEPRECATED - Gets the flags needed for "NOW" binding
616bindnow-flags() { 616bindnow-flags() {
617 ewarn "QA: stop using the bindnow-flags function ... simply drop it from your ebuild" 617 ewarn "QA: stop using the bindnow-flags function ... simply drop it from your ebuild" >&2
618 618
619 case $($(tc-getLD) -v 2>&1 </dev/null) in 619 case $($(tc-getLD) -v 2>&1 </dev/null) in
620 *GNU* | *'with BFD'*) # GNU ld 620 *GNU* | *'with BFD'*) # GNU ld
621 echo "-Wl,-z,now" ;; 621 echo "-Wl,-z,now" ;;
622 *Apple*) # Darwin ld 622 *Apple*) # Darwin ld

Legend:
Removed from v.1.121  
changed lines
  Added in v.1.122

  ViewVC Help
Powered by ViewVC 1.1.20