diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-10 01:14:30 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-10 01:14:30 +0000 |
commit | d9054ed8227203be1096254cd47b3430e2af06e1 (patch) | |
tree | 7e8fe3f37495a746abbebe09873d904be95a7188 /eclass/flag-o-matic.eclass | |
parent | Build nestra without an executable stack. (diff) | |
download | gentoo-2-d9054ed8227203be1096254cd47b3430e2af06e1.tar.gz gentoo-2-d9054ed8227203be1096254cd47b3430e2af06e1.tar.bz2 gentoo-2-d9054ed8227203be1096254cd47b3430e2af06e1.zip |
make sure we translate , into spaces for raw ldflags
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index ad502beea1e1..11e9373efde0 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.102 2006/01/10 01:00:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.103 2006/01/10 01:14:30 vapier Exp $ # need access to emktemp() @@ -536,7 +536,8 @@ raw-ldflags() { [[ -z ${input} ]] && input=${LDFLAGS} set -- for x in ${input} ; do - set -- "$@" ${x#-Wl,} + x=${x#-Wl,} + set -- "$@" ${x//,/ } done echo "$@" } |