aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky2014-11-02 11:31:01 -0300
committerJuan Linietsky2014-11-02 11:31:01 -0300
commitd85b67be53bac252c0a28b799d56d1b359c4ee99 (patch)
tree5227e145e3271bfee542bdd3e4237c3378565306 /platform/windows/detect.py
parent738eb2c1a88d441eacc4149ce8f1c12a90267191 (diff)
downloadgodot-d85b67be53bac252c0a28b799d56d1b359c4ee99.tar.gz
godot-d85b67be53bac252c0a28b799d56d1b359c4ee99.tar.zst
godot-d85b67be53bac252c0a28b799d56d1b359c4ee99.zip
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 16f70b60d..be92ee8f6 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -209,6 +209,16 @@ def configure(env):
env.Append(CPPFLAGS=['-DRTAUDIO_ENABLED'])
env.Append(CCFLAGS=['-DGLES2_ENABLED','-DGLES1_ENABLED','-DGLEW_ENABLED'])
env.Append(LIBS=['mingw32','opengl32', 'dsound', 'ole32', 'd3d9','winmm','gdi32','iphlpapi','wsock32','kernel32'])
+
+ if (env["bits"]=="32" and env["mingw64_for_32"]!="yes"):
+# env.Append(LIBS=['gcc_s'])
+ #--with-arch=i686
+ env.Append(CPPFLAGS=['-march=i686'])
+ env.Append(LINKFLAGS=['-march=i686'])
+
+
+
+
#'d3dx9d'
env.Append(CPPFLAGS=['-DMINGW_ENABLED'])
env.Append(LINKFLAGS=['-g'])