Skip to content

Commit ca6cb23

Browse files
stephengroataquynh
authored andcommittedJul 31, 2019
remove broken iOS builds (unicorn-engine#1109)
1 parent 3053e64 commit ca6cb23

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed
 

‎make.sh

-27
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ OPTIONS:
1919
cross-win64 Cross-compile Windows 64-bit binary with MinGW
2020
cross-android_arm Cross-compile for Android Arm
2121
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)
2622
linux32 Cross-compile Unicorn on 64-bit Linux to target 32-bit binary
2723
msvc_update_genfiles Generate files for MSVC projects
2824
EOF
@@ -37,25 +33,6 @@ asan() {
3733
env UNICORN_DEBUG=yes UNICORN_ASAN=yes "${MAKE}" V=1
3834
}
3935

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-
5936
build_cross() {
6037
[ "$UNAME" = Darwin ] && LIBARCHS="i386 x86_64"
6138
CROSS=$1
@@ -153,10 +130,6 @@ case "$1" in
153130
"cross-win64" ) build_cross x86_64-w64-mingw32;;
154131
"cross-android_arm" ) CROSS=arm-linux-androideabi ${MAKE};;
155132
"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;;
160133
"linux32" ) build_linux32;;
161134
"msvc_update_genfiles" ) msvc_update_genfiles;;
162135
* )

0 commit comments

Comments
 (0)
Please sign in to comment.