# Debugging information
# AIX: comment out.
# IRIX: -g3
-DEBUGFLAGS = -ggdb -D__WXDEBUG__
+DEBUGFLAGS = -D__WXDEBUG__
WIN95=1
# Which GUI, -Dwx_xview or -Dwx_motif (don't change this)
GUI = -D__WXMSW__ -D__WINDOWS__
-# Optimization
-# OPT = -O
-
# according to Guillermo Rodriguez Garcia <guille@iies.es> this flag is needed
# to make the standard div() functio work - otherwise it returns absolutely
# incorrect results and completely breaks the wxImage class (where it's used
# extensively)
-OPT = -fno-pcc-struct-return
+OPT = -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions
# Options for ar archiver
# AROPTIONS = crs # For IRIX and Solaris (both SYSVR4).