map , to spaces in --enable-sim-cflags
authorMichael Meissner <gnu@the-meissners.org>
Tue, 31 Oct 1995 20:59:19 +0000 (20:59 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Tue, 31 Oct 1995 20:59:19 +0000 (20:59 +0000)
sim/ppc/configure.in

index 26766f2d0d66f67ed76c57d559e28bb4d2a89d7c..f0758d33fb574d7d06e4b2bce0d9dd087b616604 100644 (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