ref: 8ee4fdef2875706a9ca4690aff20259ee4ffaee7
parent: b5e9e7e823a81e4b913efffa093b612f5207a35b
parent: 95491a75844a0c5a80bf010fc74f23893b34ca94
author: HaiboZhu <haibozhu@cisco.com>
date: Mon Dec 7 09:25:59 EST 2015
Merge pull request #2294 from HaiboZhu/Add_Bitcode_Enable 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)