python3: use patched autoconf-archive to fix lto build
no revbump as Void's default build configuration is not affected
This commit is contained in:
parent
2d4d06329f
commit
c4169a55e6
|
@ -11,7 +11,7 @@ configure_args="--enable-shared --enable-ipv6 --enable-optimizations
|
|||
--with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi
|
||||
--without-ensurepip ac_cv_working_tzset=yes"
|
||||
pycompile_dirs="usr/lib/python${version%.*}"
|
||||
hostmakedepends="pkgconf"
|
||||
hostmakedepends="pkgconf autoconf-archive automake"
|
||||
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
|
||||
expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel"
|
||||
depends="ca-certificates"
|
||||
|
@ -64,6 +64,11 @@ post_patch() {
|
|||
fi
|
||||
}
|
||||
|
||||
# https://github.com/python/cpython/issues/89640
|
||||
pre_configure() {
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
# If these are set, distutils will default to cc and attempt to pass
|
||||
# `-R<path>` to the compiler for every compiled extension that sets an
|
||||
|
|
Loading…
Reference in New Issue