add -fno-check-new -fno-execptions to the g++ cxxflags

This commit is contained in:
Dana Jansens 2003-01-22 01:09:19 +00:00
parent 25f0151154
commit ac48993ed8

View file

@ -41,7 +41,7 @@ AC_DEFUN([OB_COMPILER_FLAGS],
AC_MSG_CHECKING([for GNU C++])
if test "$GXX" = "yes"; then
AC_MSG_RESULT([yes])
FLAGS="-Wall -W"
FLAGS="-Wall -W -fno-check-new -fno-execptions"
# -pedantic
test "$DEBUG" = "yes" && FLAGS="$FLAGS -g -fno-inline"
else