From b7f9abef07c87c54839222da1274b0705947a0bb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Nov 2014 08:55:27 +0100 Subject: [PATCH] python3.4: fix musl builds. --- srcpkgs/python3.4/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3.4/template b/srcpkgs/python3.4/template index 62238ced3e..866cd07a81 100644 --- a/srcpkgs/python3.4/template +++ b/srcpkgs/python3.4/template @@ -26,6 +26,7 @@ pre_configure() { } do_configure() { + local _args unset GCC CC CXX CPP LD AR AS RANLIB if [ "$CROSS_BUILD" ]; then mkdir -p host-build @@ -36,8 +37,9 @@ do_configure() { mv python ../hostpython cd .. patch -Np0 -i ${FILESDIR}/cross.patch + _args="--build=${XBPS_MACHINE%%-musl}" fi - ./configure ${configure_args} --build=${XBPS_MACHINE}-unknown-linux-gnu \ + ./configure ${configure_args} ${_args} \ --with-threads --enable-ipv6 --with-signal-module \ --with-system-ffi --with-system-expat \ --enable-shared --without-ensurepip \