Compile fix for *newest* mingw32
Switched default options for mingw32 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,7 +59,7 @@ OPTIONS= -D__EGCS__ -DSTRICT # -D__MINGW32__
|
|||||||
# Debugging information
|
# Debugging information
|
||||||
# AIX: comment out.
|
# AIX: comment out.
|
||||||
# IRIX: -g3
|
# 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)
|
# Which GUI, -Dwx_xview or -Dwx_motif (don't change this)
|
||||||
GUI = -D__WXMSW__ -D__WINDOWS__
|
GUI = -D__WXMSW__ -D__WINDOWS__
|
||||||
|
|
||||||
# Optimization
|
|
||||||
# OPT = -O
|
|
||||||
|
|
||||||
# according to Guillermo Rodriguez Garcia <guille@iies.es> this flag is needed
|
# according to Guillermo Rodriguez Garcia <guille@iies.es> this flag is needed
|
||||||
# to make the standard div() functio work - otherwise it returns absolutely
|
# to make the standard div() functio work - otherwise it returns absolutely
|
||||||
# incorrect results and completely breaks the wxImage class (where it's used
|
# incorrect results and completely breaks the wxImage class (where it's used
|
||||||
# extensively)
|
# extensively)
|
||||||
OPT = -fno-pcc-struct-return
|
OPT = -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions
|
||||||
|
|
||||||
# Options for ar archiver
|
# Options for ar archiver
|
||||||
# AROPTIONS = crs # For IRIX and Solaris (both SYSVR4).
|
# AROPTIONS = crs # For IRIX and Solaris (both SYSVR4).
|
||||||
|
Reference in New Issue
Block a user