Merge "iosbuild.sh Add arm64 support to VPX.framework."
This commit is contained in:
commit
9cd90d465a
@ -25,7 +25,8 @@ MAKE_JOBS=1
|
|||||||
LIBVPX_SOURCE_DIR=$(dirname "$0" | sed -e s,/build/make,,)
|
LIBVPX_SOURCE_DIR=$(dirname "$0" | sed -e s,/build/make,,)
|
||||||
LIPO=$(xcrun -sdk iphoneos${SDK} -find lipo)
|
LIPO=$(xcrun -sdk iphoneos${SDK} -find lipo)
|
||||||
ORIG_PWD="$(pwd)"
|
ORIG_PWD="$(pwd)"
|
||||||
TARGETS="armv6-darwin-gcc
|
TARGETS="arm64-darwin-gcc
|
||||||
|
armv6-darwin-gcc
|
||||||
armv7-darwin-gcc
|
armv7-darwin-gcc
|
||||||
armv7s-darwin-gcc
|
armv7s-darwin-gcc
|
||||||
x86-iphonesimulator-gcc
|
x86-iphonesimulator-gcc
|
||||||
@ -54,6 +55,9 @@ build_target() {
|
|||||||
target_to_preproc_symbol() {
|
target_to_preproc_symbol() {
|
||||||
target="$1"
|
target="$1"
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
|
arm64-*)
|
||||||
|
echo "__aarch64__"
|
||||||
|
;;
|
||||||
armv6-*)
|
armv6-*)
|
||||||
echo "__ARM_ARCH_6__"
|
echo "__ARM_ARCH_6__"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user