@@ -19,10 +19,6 @@ OPTIONS:
19
19
cross-win64 Cross-compile Windows 64-bit binary with MinGW
20
20
cross-android_arm Cross-compile for Android Arm
21
21
cross-android_arm64 Cross-compile for Android Arm64
22
- ios Cross-compile for all iOS devices (armv7 + armv7s + arm64)
23
- ios_armv7 Cross-compile for iOS ArmV7 (iPod 4, iPad 1/2/3, iPhone4, iPhone4S)
24
- ios_armv7s Cross-compile for iOS ArmV7s (iPad 4, iPhone 5C, iPad mini)
25
- ios_arm64 Cross-compile for iOS Arm64 (iPhone 5S, iPad mini Retina, iPad Air)
26
22
linux32 Cross-compile Unicorn on 64-bit Linux to target 32-bit binary
27
23
msvc_update_genfiles Generate files for MSVC projects
28
24
EOF
@@ -37,25 +33,6 @@ asan() {
37
33
env UNICORN_DEBUG=yes UNICORN_ASAN=yes " ${MAKE} " V=1
38
34
}
39
35
40
- # build iOS lib for all iDevices, or only specific device
41
- build_iOS () {
42
- IOS_SDK=$( xcrun --sdk iphoneos --show-sdk-path)
43
- IOS_CC=$( xcrun --sdk iphoneos -f clang)
44
- IOS_CFLAGS=" -Os -Wimplicit -isysroot $IOS_SDK "
45
- IOS_LDFLAGS=" -isysroot $IOS_SDK "
46
- if [ -z " $1 " ]; then
47
- # build for all iDevices
48
- IOS_ARCHS=" armv7 armv7s arm64"
49
- else
50
- IOS_ARCHS=" $1 "
51
- fi
52
- CC=" $IOS_CC " \
53
- CFLAGS=" $IOS_CFLAGS " \
54
- LDFLAGS=" $IOS_LDFLAGS " \
55
- LIBARCHS=" $IOS_ARCHS " \
56
- ${MAKE}
57
- }
58
-
59
36
build_cross () {
60
37
[ " $UNAME " = Darwin ] && LIBARCHS=" i386 x86_64"
61
38
CROSS=$1
@@ -153,10 +130,6 @@ case "$1" in
153
130
" cross-win64" ) build_cross x86_64-w64-mingw32;;
154
131
" cross-android_arm" ) CROSS=arm-linux-androideabi ${MAKE} ;;
155
132
" cross-android_arm64" ) CROSS=aarch64-linux-android ${MAKE} ;;
156
- " ios" ) build_iOS;;
157
- " ios_armv7" ) build_iOS armv7;;
158
- " ios_armv7s" ) build_iOS armv7s;;
159
- " ios_arm64" ) build_iOS arm64;;
160
133
" linux32" ) build_linux32;;
161
134
" msvc_update_genfiles" ) msvc_update_genfiles;;
162
135
* )
0 commit comments