File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 116116# Clang 13 actually prints something with --print-multiarch, confusing CPython's
117117# configure. This is reported as https://bugs.python.org/issue45405. We nerf the
118118# check since we know what we're doing.
119- if [ " ${CC} " = " clang" ]; then
119+ if [[ " ${CC} " = " clang" || " ${CC} " = " musl-clang " ] ]; then
120120 if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_13} " ]; then
121121 patch -p1 -i ${ROOT} /patch-disable-multiarch-13.patch
122122 else
123123 patch -p1 -i ${ROOT} /patch-disable-multiarch.patch
124124 fi
125- elif [ " ${CC} " = " musl-clang" ]; then
126- # Similarly, this is a problem for musl Clang on Python 3.13+
127- if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_13} " ]; then
128- patch -p1 -i ${ROOT} /patch-disable-multiarch-13.patch
129- fi
130125fi
131126
132127# Python 3.11 supports using a provided Python to use during bootstrapping
You can’t perform that action at this time.
0 commit comments