blob: e25173313cea079ea47b799ba7a5de06500c2aaf (
plain)
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
53
54
55
|
--- Python-3.9.1/config.sub 2021-01-17 20:15:56.796000000 +0100
+++ Python-3.9.1/config.sub 2021-01-17 20:21:04.324828217 +0100
@@ -1485,6 +1485,8 @@
-oss*)
os=-sysv3
;;
+ -serenity*)
+ ;;
-svr4*)
os=-sysv4
;;
--- Python-3.9.1/configure.ac 2021-01-17 20:33:50.524295313 +0100
+++ Python-3.9.1/configure.ac 2021-01-17 20:34:24.631127320 +0100
@@ -382,6 +382,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
case "$host" in
+ *-*-serenity*)
+ ac_sys_system=Serenity
+ ;;
*-*-linux-android*)
ac_sys_system=Linux-android
;;
@@ -428,6 +431,9 @@
AC_SUBST(_PYTHON_HOST_PLATFORM)
if test "$cross_compiling" = yes; then
case "$host" in
+ *-*-serenity*)
+ _host_cpu=$host_cpu
+ ;;
*-*-linux*)
case "$host_cpu" in
arm*)
--- Python-3.9.1/configure 2021-01-17 20:35:39.813757019 +0100
+++ Python-3.9.1/configure 2021-01-17 20:36:00.538654942 +0100
@@ -3292,6 +3292,9 @@
# a lot of different things including 'define_xopen_source'
# in the case statement below.
case "$host" in
+ *-*-serenity*)
+ ac_sys_system=Serenity
+ ;;
*-*-linux-android*)
ac_sys_system=Linux-android
;;
@@ -3339,6 +3342,9 @@
if test "$cross_compiling" = yes; then
case "$host" in
+ *-*-serenity*)
+ _host_cpu=$host_cpu
+ ;;
*-*-linux*)
case "$host_cpu" in
arm*)
|