aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorJuan Linietsky2015-11-25 00:28:03 -0300
committerJuan Linietsky2015-11-25 00:28:03 -0300
commitb987d2113b491a4427310e23408c9a31a4f369e4 (patch)
tree2aee7bc6cdeafe08f93d5ad6dd1c4fd4831a52c1 /platform/windows/detect.py
parent082e3fbb2920340cec7e7b1a3f39083325b4b341 (diff)
downloadgodot-b987d2113b491a4427310e23408c9a31a4f369e4.tar.gz
godot-b987d2113b491a4427310e23408c9a31a4f369e4.tar.zst
godot-b987d2113b491a4427310e23408c9a31a4f369e4.zip
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index fcde14030..4ec4b054d 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -263,6 +263,7 @@ def configure(env):
env.Append(CCFLAGS=["/I"+DIRECTX_PATH+"/Include"])
env.Append(LIBPATH=[DIRECTX_PATH+"/Lib/x86"])
env['ENV'] = os.environ;
+ env["x86_opt_vc"]=True
else:
# Workaround for MinGW. See:
@@ -361,6 +362,7 @@ def configure(env):
env['AR'] = mingw_prefix+"ar"
env['RANLIB'] = mingw_prefix+"ranlib"
env['LD'] = mingw_prefix+"g++"
+ env["x86_opt_gcc"]=True
#env['CC'] = "winegcc"
#env['CXX'] = "wineg++"