Don't assume the C++ compiler takes the same arguments as the C compiler.

This commit is contained in:
Paul Eggert
2004-05-30 18:58:00 +00:00
parent 0797198341
commit 8ed3234a14
3 changed files with 10 additions and 1 deletions

View File

@@ -122,6 +122,8 @@ AM_MISSING_PROG([AUTOM4TE], [autom4te])
AC_SUBST([GCC])
O0CFLAGS=`echo $CFLAGS | sed 's/-O[0-9] *//'`
AC_SUBST([O0CFLAGS])
O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[0-9] *//'`
AC_SUBST([O0CXXFLAGS])
AC_CONFIG_FILES([Makefile
config/Makefile