aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/configure')
-rwxr-xr-xsim/ppc/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index aab7e2a..7eefa07 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -452,7 +452,7 @@ if test -n "$enableval"; then
case "${enableval}" in
yes) sim_cflags="-O2 -fomit-frame-pointer";;
no) sim_cflags="";;
- *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /"`;;
+ *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;;
esac
else
sim_cflags=""
@@ -531,10 +531,10 @@ enableval="$enable_sim_inline"
if test -n "$enableval"; then
sim_inline=""
case "$enableval" in
- no) flags="";;
- 0) flags="-DDEFAULT_INLINE=0";;
- yes | 2) flags="-DDEFAULT_INLINE=2";;
- 1) flags="-DDEFAULT_INLINE=1";;
+ no) sim_inline="";;
+ 0) sim_inline="-DDEFAULT_INLINE=0";;
+ yes | 2) sim_inline="-DDEFAULT_INLINE=2";;
+ 1) sim_inline="-DDEFAULT_INLINE=1";;
*) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do
new_flag=""
case "$x" in