add -fno-check-new -fno-execptions to the g++ cxxflags
This commit is contained in:
parent
25f0151154
commit
ac48993ed8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue