1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Fix windows 64-bits build.

The change in `tools/doc/doc_data.cpp` is needed because the MSVC
compiler does not support variable length arrays.

Fix #4113
This commit is contained in:
George Marques
2016-05-03 16:29:32 -03:00
parent 5b039245b9
commit 9424c6c58f
3 changed files with 4 additions and 3 deletions

View File

@@ -289,6 +289,8 @@ def configure(env):
print "Compiled program architecture will be a 32 bit executable. (forcing bits=32)."
else:
print "Failed to detect MSVC compiler architecture version... Defaulting to 32bit executable settings (forcing bits=32). Compilation attempt will continue, but SCons can not detect for what architecture this build is compiled for. You should check your settings/compilation setup."
if env["bits"]=="64":
env.Append(CCFLAGS=['/D_WIN64'])
else:
# Workaround for MinGW. See: