summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-10 01:14:30 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-10 01:14:30 +0000
commit387d6b270fcb1a061cc23a9f1b6e77278d9e20e7 (patch)
treea75334682171746c6c3c5e613b2de9640e94137b
parentBuild nestra without an executable stack. (diff)
downloadhistorical-387d6b270fcb1a061cc23a9f1b6e77278d9e20e7.tar.gz
historical-387d6b270fcb1a061cc23a9f1b6e77278d9e20e7.tar.bz2
historical-387d6b270fcb1a061cc23a9f1b6e77278d9e20e7.zip
make sure we translate , into spaces for raw ldflags
-rw-r--r--eclass/flag-o-matic.eclass5
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 "$@"
}