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

View file

@ -66,11 +66,11 @@ fi
if test x"$enable_sim_cflags" != x"" -a x"$enable_sim_cflags" != x"no"; then if test x"$enable_sim_cflags" != x"" -a x"$enable_sim_cflags" != x"no"; then
if test "$enable_sim_cflags" = "yes"; then if test "$enable_sim_cflags" = "yes"; then
enable_sim_cflags="-fomit-frame-pointer -O2" enable_sim_cflags="-fomit-frame-pointer,-O2"
fi fi
mv Makefile Makefile.tem mv Makefile Makefile.tem
echo "Setting SIM_CFLAGS=$enable_sim_cflags" 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 < Makefile.tem > Makefile
rm -f Makefile.tem rm -f Makefile.tem
fi fi