diff options
| author | Juan Linietsky | 2014-11-02 11:31:01 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-11-02 11:31:01 -0300 |
| commit | d85b67be53bac252c0a28b799d56d1b359c4ee99 (patch) | |
| tree | 5227e145e3271bfee542bdd3e4237c3378565306 /platform/windows/detect.py | |
| parent | 738eb2c1a88d441eacc4149ce8f1c12a90267191 (diff) | |
| download | godot-d85b67be53bac252c0a28b799d56d1b359c4ee99.tar.gz godot-d85b67be53bac252c0a28b799d56d1b359c4ee99.tar.zst godot-d85b67be53bac252c0a28b799d56d1b359c4ee99.zip | |
Diffstat (limited to 'platform/windows/detect.py')
| -rw-r--r-- | platform/windows/detect.py | 10 |
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'])
|
