map , to spaces in --enable-sim-cflags

This commit is contained in:
Michael Meissner 1995-10-31 20:59:19 +00:00
parent 0652d579db
commit 5d0e859038
1 changed files with 2 additions and 2 deletions

View File

@ -66,11 +66,11 @@ fi
if test x"$enable_sim_cflags" != x"" -a x"$enable_sim_cflags" != x"no"; then
if test "$enable_sim_cflags" = "yes"; then
enable_sim_cflags="-fomit-frame-pointer -O2"
enable_sim_cflags="-fomit-frame-pointer,-O2"
fi
mv Makefile Makefile.tem
echo "Setting SIM_CFLAGS=$enable_sim_cflags"
sed -e "s/^SIM_CFLAGS.*=.*\$/SIM_CFLAGS = $enable_sim_cflags/" \
sed -e "s/^SIM_CFLAGS.*=.*\$/SIM_CFLAGS = $enable_sim_cflags/" -e "s/,/ /g"\
< Makefile.tem > Makefile
rm -f Makefile.tem
fi