--disable-inline]), [
if test "x$enableval" = "xno" ; then
AC_MSG_NOTICE([Disabling compiler optimizations (-O flag)])
- CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
- CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[[0-9]]*//'`"
+ CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9g]]*//'`"
+ CXXFLAGS="`echo $CXXFLAGS | sed -e 's/-O[[0-9g]]*//'`"
enable_inline="no"
fi
])
i386-*-solaris2.*)
if test "x$GCC" = "xyes"; then
AC_MSG_NOTICE([Removing -O for gcc on $host])
- CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
+ CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9g]]*//'`"
fi
;;