extra flags for Mingw if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
73f40bef60
commit
65fb1c1160
@ -171,7 +171,9 @@
|
||||
<define>WINVER=0x0400</define>
|
||||
<define>_WIN32_IE=0x0400</define>
|
||||
<define>STRICT</define>
|
||||
<cppflags>$(EXTRACFLAGS)</cppflags>
|
||||
</if>
|
||||
|
||||
</template>
|
||||
|
||||
<template id="3rdparty_lib" template="anylib">
|
||||
|
@ -99,6 +99,7 @@
|
||||
<set var="TOOLKIT_VERSION"/>
|
||||
<set var="SAMPLES_RPATH_FLAG"/>
|
||||
<set var="EXTRALIBS"/>
|
||||
<set var="EXTRACFLAGS"/>
|
||||
|
||||
<set var="SRCDIR">
|
||||
<if cond="BUILDING_LIB=='1'">..</if>
|
||||
@ -106,5 +107,21 @@
|
||||
</set>
|
||||
<set var="TOP_SRCDIR">$(SRCDIR)/$(WXTOPDIR)</set>
|
||||
</if>
|
||||
|
||||
|
||||
<if cond="FORMAT=='mingw'">
|
||||
<option name="GCC_VERSION">
|
||||
<values>3 2.95</values>
|
||||
<default-value>3</default-value>
|
||||
<description>
|
||||
Set the version of your Mingw installation here.
|
||||
"3" ...... this is for Mingw 2.0 or newer that cames with gcc3
|
||||
"2.95" ... for Mingw 1.1 or any of the older versions
|
||||
</description>
|
||||
</option>
|
||||
<set var="GCCFLAGS">
|
||||
<if cond="GCC_VERSION=='2.95'">-fvtable-thunks</if>
|
||||
</set>
|
||||
<set var="EXTRACFLAGS">$(GCCFLAGS) -DHAVE_W32API_H</set>
|
||||
</if>
|
||||
|
||||
</makefile>
|
||||
|
Loading…
Reference in New Issue
Block a user