You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +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
(cherry picked from commit 9424c6c58f)
This commit is contained in:
committed by
Rémi Verschelde
parent
3449c81bdb
commit
4f57e532b8
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user