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