From a1aa873259a96d12969039fdc958d9a2d9243ec3 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Sun, 14 Jun 2020 11:46:12 +0200 Subject: [PATCH] Embed bitcode when linking --- native_client/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/native_client/BUILD b/native_client/BUILD index b38979e5..92eb788c 100644 --- a/native_client/BUILD +++ b/native_client/BUILD @@ -130,6 +130,7 @@ tf_cc_shared_object( }) + tflite_copts(), linkopts = select({ "//tensorflow:macos": [], + "//tensorflow:ios": ["-fembed-bitcode"], "//tensorflow:linux_x86_64": LINUX_LINKOPTS, "//tensorflow:rpi3": LINUX_LINKOPTS, "//tensorflow:rpi3-armv8": LINUX_LINKOPTS,