/[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.145 Revision 1.146
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.145 2009/10/04 10:00:53 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.146 2010/02/17 18:20:49 ssuominen 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
706 for x in ${input} ; do 706 for x in ${input} ; do
707 x=${x#-Wl,} 707 x=${x#-Wl,}
708 set -- "$@" ${x//,/ } 708 set -- "$@" ${x//,/ }
709 done 709 done
710 echo "$@" 710 echo "$@"
711}
712
713# @FUNCTION: bindnow-flags
714# @RETURN: Returns the flags to enable "now" binding in the current selected linker.
715# @DESCRIPTION:
716# DEPRECATED - Gets the flags needed for "NOW" binding
717bindnow-flags() {
718 eerror "QA: stop using the bindnow-flags function ... simply drop it from your ebuild"
719 die "Stop using bindnow-flags."
720} 711}
721 712
722# @FUNCTION: no-as-needed 713# @FUNCTION: no-as-needed
723# @RETURN: Flag to disable asneeded behavior for use with append-ldflags. 714# @RETURN: Flag to disable asneeded behavior for use with append-ldflags.
724no-as-needed() { 715no-as-needed() {

Legend:
Removed from v.1.145  
changed lines
  Added in v.1.146

  ViewVC Help
Powered by ViewVC 1.1.20