From 356b8a6f3c6e9474741c669c7e9f564128c13507 Mon Sep 17 00:00:00 2001 From: Dominic Guana Date: Tue, 10 Nov 2015 13:37:01 +0800 Subject: [PATCH] Fix cross-compilation Halt on 64bit Machine Recent Merge on Hxcpp may prevent 64bit machine users from compiling 32bit binary. Though the work around may be as easy adding compilation flag: -32. Through this pull, OpenFl and Lime can now recover its usual compilation procedure. --- lime/tools/platforms/WindowsPlatform.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lime/tools/platforms/WindowsPlatform.hx b/lime/tools/platforms/WindowsPlatform.hx index 198d64c7d..ef380d772 100644 --- a/lime/tools/platforms/WindowsPlatform.hx +++ b/lime/tools/platforms/WindowsPlatform.hx @@ -133,6 +133,8 @@ class WindowsPlatform extends PlatformTarget { var haxeArgs = [ hxml ]; var flags = []; + flags.push ("-DHXCPP_M32"); + if (!project.environment.exists ("SHOW_CONSOLE")) { haxeArgs.push ("-D");