diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-05-04 08:35:45 +0200 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-05-04 08:35:45 +0200 |
commit | db0fde9d39687937567c208e989cf25b15e09af4 (patch) | |
tree | 8d7a3a1bf0401cedba2463812486539db1e68297 /platform | |
parent | 3279ad79c3dcecbb2c5c001775d7a28f982e0955 (diff) | |
parent | 9424c6c58f0b33f06807936958978e907574a845 (diff) |
Merge pull request #4541 from vnen/pr-fix-win64-build
Fix windows 64-bits build.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/windows/detect.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index d01a5a114d..56e8a5d45d 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -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: |