Update macOS builds for current Xcode

This commit is contained in:
Joshua Granick
2018-03-20 19:16:49 -07:00
parent d5c6bb4515
commit ebd0f63733
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@
<define name="native-trace" if="flash" unless="haxe-trace || haxetrace" />
<define name="fdb" if="flash debug" unless="nofdb" />
<define name="MACOSX_DEPLOYMENT_TARGET" value="10.7" if="mac" unless="MACOSX_DEPLOYMENT_TARGET" />
<define name="MACOSX_DEPLOYMENT_TARGET" value="10.9" if="mac" unless="MACOSX_DEPLOYMENT_TARGET" />
<setenv name="MACOSX_DEPLOYMENT_TARGET" value="${MACOSX_DEPLOYMENT_TARGET}" if="mac" />
<architecture name="armv7" if="android" />

View File

@@ -251,13 +251,13 @@ class MacPlatform extends PlatformTarget {
if (!targetFlags.exists ("32") && (command == "rebuild" || PlatformHelper.hostArchitecture == Architecture.X64)) {
commands.push ([ "-Dmac", "-DHXCPP_M64" ]);
commands.push ([ "-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M64" ]);
}
if (!targetFlags.exists ("64") && (command == "rebuild" || PlatformHelper.hostArchitecture == Architecture.X86)) {
commands.push ([ "-Dmac", "-DHXCPP_M32" ]);
commands.push ([ "-Dmac", "-DHXCPP_CLANG", "-DHXCPP_M32" ]);
}