-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathconfig.patch
52 lines (52 loc) · 1.73 KB
/
config.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
diff -ur libjpeg-turbo-1.5.3-orig/config.sub libjpeg-turbo-1.5.3/config.sub
--- libjpeg-turbo-1.5.3-orig/config.sub 2017-12-14 12:39:07.000000000 +0800
+++ libjpeg-turbo-1.5.3/config.sub 2022-09-09 14:53:30.000000000 +0800
@@ -117,6 +117,7 @@
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+ ios*-simulator | tvos*-simulator | watchos*-simulator | \
knetbsd*-gnu* | netbsd*-gnu* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
@@ -253,7 +254,7 @@
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
| arc | arceb \
- | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
+ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[armk] \
| avr | avr32 \
| be32 | be64 \
| bfin \
@@ -374,7 +375,7 @@
| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* | arm64-* \
| avr-* | avr32-* \
| be32-* | be64-* \
| bfin-* | bs2000-* \
@@ -448,6 +449,9 @@
| ymp-* \
| z8k-* | z80-*)
;;
+ arm64-* | arm64e-* | arm64_32-*)
+ basic_machine=aarch64-`echo "$basic_machine" | sed 's/^[^-]*-//'`
+ ;;
# Recognize the basic CPU types without company name, with glob match.
xtensa*)
basic_machine=$basic_machine-unknown
@@ -1525,6 +1529,12 @@
;;
-nacl*)
;;
+ -ios | -ios-simulator)
+ ;;
+ -tvos | -tvos-simulator)
+ ;;
+ -watchos | -watchos-simulator)
+ ;;
-none)
;;
*)