put -fno-rtti into wx-config

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-06-16 19:13:10 +00:00
parent f53561f1f0
commit 04338f96a9

View File

@@ -1356,8 +1356,10 @@ if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
AC_DEFINE(WXDEBUG)
WXDEBUG_DEFINE="-D__WXDEBUG__"
else
if test "$wxUSE_GTK" = 1 ; then
WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
fi
fi
if test "$wxUSE_MEM_TRACING" = "yes" ; then
AC_DEFINE(wxUSE_MEMORY_TRACING)
@@ -1380,7 +1382,8 @@ if test "$wxUSE_OPTIMISE" = "no" ; then
OPTIMISE=
else
if test "$GCC" = yes ; then
OPTIMISE="-O2 -fno-rtti -fno-exceptions"
OPTIMISE="-O2"
WXDEBUG_DEFINE="$WXDEBUG_DEFINE -fno-rtti -fno-exceptions"
case "${host}" in
i586-*-*|i686-*-* )
OPTIMISE="${OPTIMISE} "