workaround for mingw32 div() bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,7 +94,12 @@ GUI = -D__WXMSW__ -D__WINDOWS__
|
|||||||
|
|
||||||
# Optimization
|
# Optimization
|
||||||
# OPT = -O
|
# OPT = -O
|
||||||
OPT =
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# 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