Merge "add bitcode embedding support for ios"

This commit is contained in:
Tom Finegan 2016-01-25 17:44:24 +00:00 committed by Gerrit Code Review
commit 2e55d6c5f7

View File

@ -174,6 +174,11 @@ for PLATFORM in ${PLATFORMS}; do
CXXFLAGS="-arch ${ARCH2:-${ARCH}} -isysroot ${SDKROOT} ${OPT_FLAGS}
-miphoneos-version-min=6.0"
# enable bitcode if available
if [ "${SDK_MAJOR_VERSION}" -gt 8 ]; then
CXXFLAGS="${CXXFLAGS} -fembed-bitcode"
fi
# Build using the legacy makefile (instead of generating via cmake).
eval make -f Makefile.unix libwebm.a CXXFLAGS=\"${CXXFLAGS}\" ${devnull}