/[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.102 Revision 1.103
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 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.102 2006/01/10 01:00:29 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.103 2006/01/10 01:14:30 vapier Exp $
4 4
5 5
6# need access to emktemp() 6# need access to emktemp()
7inherit eutils toolchain-funcs multilib 7inherit eutils toolchain-funcs multilib
8 8
534raw-ldflags() { 534raw-ldflags() {
535 local x input="$@" 535 local x input="$@"
536 [[ -z ${input} ]] && input=${LDFLAGS} 536 [[ -z ${input} ]] && input=${LDFLAGS}
537 set -- 537 set --
538 for x in ${input} ; do 538 for x in ${input} ; do
539 x=${x#-Wl,}
539 set -- "$@" ${x#-Wl,} 540 set -- "$@" ${x//,/ }
540 done 541 done
541 echo "$@" 542 echo "$@"
542} 543}
543 544
544fstack-flags() { 545fstack-flags() {

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

  ViewVC Help
Powered by ViewVC 1.1.20