@@ -67,24 +67,35 @@ if [ "${BUILD_TRIPLE}" != "${TARGET_TRIPLE}" ]; then
67
67
68
68
# Same patch as below. See comment there.
69
69
if [ " ${CC} " = " clang" ]; then
70
- if [ " ${PYTHON_MAJMIN_VERSION} " = " 3.9 " ]; then
70
+ if [ " ${PYTHON_MAJMIN_VERSION} " ! = " 3.8 " ]; then
71
71
patch -p1 << "EOF "
72
72
diff --git a/configure b/configure
73
- index 33ecb16f71..7f21822d97 100755
73
+ index d078887b2f..78654eed29 100755
74
74
--- a/configure
75
75
+++ b/configure
76
- @@ -5354,10 +5354 ,7 @@ $as_echo "none" >&6; }
76
+ @@ -5366,20 +5366 ,7 @@ $as_echo "none" >&6; }
77
77
fi
78
78
rm -f conftest.c conftest.out
79
79
80
- -if test x$PLATFORM_TRIPLET != xdarwin; then
81
- - MULTIARCH=$($CC --print-multiarch 2>/dev/null)
82
- -fi
80
+ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
81
+ -$as_echo_n "checking for multiarch... " >&6; }
82
+ -case $ac_sys_system in #(
83
+ - Darwin*) :
84
+ - MULTIARCH="" ;; #(
85
+ - FreeBSD*) :
86
+ - MULTIARCH="" ;; #(
87
+ - *) :
88
+ - MULTIARCH=$($CC --print-multiarch 2>/dev/null)
89
+ - ;;
90
+ -esac
83
91
-
92
+ -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
93
+ -$as_echo "$MULTIARCH" >&6; }
84
94
+MULTIARCH=
85
95
86
96
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
87
97
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
98
+
88
99
EOF
89
100
else
90
101
patch -p1 << "EOF "
325
336
# configure. This is reported as https://bugs.python.org/issue45405. We nerf the
326
337
# check since we know what we're doing.
327
338
if [ " ${CC} " = " clang" ]; then
328
- if [ " ${PYTHON_MAJMIN_VERSION} " = " 3.9 " ]; then
339
+ if [ " ${PYTHON_MAJMIN_VERSION} " ! = " 3.8 " ]; then
329
340
patch -p1 << "EOF "
330
341
diff --git a/configure b/configure
331
- index 33ecb16f71..7f21822d97 100755
342
+ index d078887b2f..78654eed29 100755
332
343
--- a/configure
333
344
+++ b/configure
334
- @@ -5354,10 +5354 ,7 @@ $as_echo "none" >&6; }
345
+ @@ -5366,20 +5366 ,7 @@ $as_echo "none" >&6; }
335
346
fi
336
347
rm -f conftest.c conftest.out
337
-
338
- -if test x$PLATFORM_TRIPLET != xdarwin; then
339
- - MULTIARCH=$($CC --print-multiarch 2>/dev/null)
340
- -fi
348
+
349
+ -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for multiarch" >&5
350
+ -$as_echo_n "checking for multiarch... " >&6; }
351
+ -case $ac_sys_system in #(
352
+ - Darwin*) :
353
+ - MULTIARCH="" ;; #(
354
+ - FreeBSD*) :
355
+ - MULTIARCH="" ;; #(
356
+ - *) :
357
+ - MULTIARCH=$($CC --print-multiarch 2>/dev/null)
358
+ - ;;
359
+ -esac
341
360
-
361
+ -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MULTIARCH" >&5
362
+ -$as_echo "$MULTIARCH" >&6; }
342
363
+MULTIARCH=
343
-
364
+
344
365
if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then
345
366
if test x$PLATFORM_TRIPLET != x$MULTIARCH; then
367
+
346
368
EOF
347
369
else
348
370
patch -p1 << "EOF "
0 commit comments