]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix for *newest* mingw32
authorRobert Roebling <robert@roebling.de>
Thu, 22 Jul 1999 15:10:43 +0000 (15:10 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 22 Jul 1999 15:10:43 +0000 (15:10 +0000)
  Switched default options for mingw32

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/makeg95.env

index 06e619183030b564cd4038f0e870bc53c6920e25..d58cb0006e4fd7c730419bc460a27cfc763cfadb 100644 (file)
@@ -59,7 +59,7 @@ OPTIONS= -D__EGCS__  -DSTRICT # -D__MINGW32__
 # Debugging information
 # AIX: comment out.
 # IRIX: -g3
 # Debugging information
 # AIX: comment out.
 # IRIX: -g3
-DEBUGFLAGS = -ggdb -D__WXDEBUG__
+DEBUGFLAGS = -D__WXDEBUG__
 
 WIN95=1
 
 
 WIN95=1
 
@@ -92,14 +92,11 @@ WARN = -Wall
 # Which GUI, -Dwx_xview or -Dwx_motif (don't change this)
 GUI = -D__WXMSW__ -D__WINDOWS__
 
 # 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)
 # 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).
 
 # Options for ar archiver
 # AROPTIONS = crs # For IRIX and Solaris (both SYSVR4).