Update macOS builds for current Xcode
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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" ]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user