map , to spaces in --enable-sim-cflags
This commit is contained in:
parent
0652d579db
commit
5d0e859038
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue