Trying to enable bitcode for Apple TV
This commit is contained in:
@@ -313,9 +313,9 @@ class TVOSPlatform extends PlatformTarget {
|
||||
|
||||
var commands = [];
|
||||
|
||||
if (arm64) commands.push ([ "-Dtvos", "-Dappletvos", "-DHXCPP_CPP11", "-DHXCPP_ARM64", "-DOBJC_ARC" ]);
|
||||
if (i386) commands.push ([ "-Dtvos", "-Dappletvsim", "-Dsimulator", "-DHXCPP_CPP11", "-DOBJC_ARC" ]);
|
||||
if (x86_64) commands.push ([ "-Dtvos", "-Dappletvsim", "-Dsimulator", "-DHXCPP_M64", "-DHXCPP_CPP11", "-DOBJC_ARC" ]);
|
||||
if (arm64) commands.push ([ "-Dtvos", "-Dappletvos", "-DHXCPP_CPP11", "-DHXCPP_ARM64", "-DOBJC_ARC", "-DENABLE_BITCODE" ]);
|
||||
if (i386) commands.push ([ "-Dtvos", "-Dappletvsim", "-Dsimulator", "-DHXCPP_CPP11", "-DOBJC_ARC", "-DENABLE_BITCODE" ]);
|
||||
if (x86_64) commands.push ([ "-Dtvos", "-Dappletvsim", "-Dsimulator", "-DHXCPP_M64", "-DHXCPP_CPP11", "-DOBJC_ARC", "-DENABLE_BITCODE" ]);
|
||||
|
||||
CPPHelper.rebuild (project, commands);
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ else
|
||||
endif
|
||||
|
||||
ifeq ("$(CLANG_ENABLE_OBJC_ARC)", "YES")
|
||||
HXCPP_CLANG := -DHXCPP_CLANG -DOBJC_ARC
|
||||
HXCPP_CLANG := -DHXCPP_CLANG -DOBJC_ARC -DENABLE_BITCODE
|
||||
else
|
||||
HXCPP_CLANG :=
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user