python3.4: fix musl builds.
This commit is contained in:
parent
a4fd3a1646
commit
b7f9abef07
|
@ -26,6 +26,7 @@ pre_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
local _args
|
||||||
unset GCC CC CXX CPP LD AR AS RANLIB
|
unset GCC CC CXX CPP LD AR AS RANLIB
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
mkdir -p host-build
|
mkdir -p host-build
|
||||||
|
@ -36,8 +37,9 @@ do_configure() {
|
||||||
mv python ../hostpython
|
mv python ../hostpython
|
||||||
cd ..
|
cd ..
|
||||||
patch -Np0 -i ${FILESDIR}/cross.patch
|
patch -Np0 -i ${FILESDIR}/cross.patch
|
||||||
|
_args="--build=${XBPS_MACHINE%%-musl}"
|
||||||
fi
|
fi
|
||||||
./configure ${configure_args} --build=${XBPS_MACHINE}-unknown-linux-gnu \
|
./configure ${configure_args} ${_args} \
|
||||||
--with-threads --enable-ipv6 --with-signal-module \
|
--with-threads --enable-ipv6 --with-signal-module \
|
||||||
--with-system-ffi --with-system-expat \
|
--with-system-ffi --with-system-expat \
|
||||||
--enable-shared --without-ensurepip \
|
--enable-shared --without-ensurepip \
|
||||||
|
|
Loading…
Reference in New Issue