ref: 95491a75844a0c5a80bf010fc74f23893b34ca94
parent: b5e9e7e823a81e4b913efffa093b612f5207a35b
author: Haibo Zhu <haibozhu@cisco.com>
date: Mon Nov 30 08:11:44 EST 2015
Enable bitcode for iOS 9
--- a/build/platform-ios.mk
+++ b/build/platform-ios.mk
@@ -12,6 +12,6 @@
XCODE=$(shell xcode-select -p)
SDKROOT = $(XCODE)/Platforms/$(SDKTYPE).platform/Developer/SDKs/$(SDKTYPE)$(SDK).sdk
-CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) -DAPPLE_IOS
+CFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN) -DAPPLE_IOS -fembed-bitcode
LDFLAGS += -arch $(ARCH) -isysroot $(SDKROOT) -miphoneos-version-min=$(SDK_MIN)