mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
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
1 changed files with 6 additions and 1 deletions
|
@ -11,7 +11,7 @@ configure_args="--enable-shared --enable-ipv6 --enable-optimizations
|
||||||
--with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi
|
--with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi
|
||||||
--without-ensurepip ac_cv_working_tzset=yes"
|
--without-ensurepip ac_cv_working_tzset=yes"
|
||||||
pycompile_dirs="usr/lib/python${version%.*}"
|
pycompile_dirs="usr/lib/python${version%.*}"
|
||||||
hostmakedepends="pkgconf"
|
hostmakedepends="pkgconf autoconf-archive automake"
|
||||||
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
|
makedepends="libffi-devel readline-devel gdbm-devel openssl-devel
|
||||||
expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel"
|
expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel"
|
||||||
depends="ca-certificates"
|
depends="ca-certificates"
|
||||||
|
@ -64,6 +64,11 @@ post_patch() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# https://github.com/python/cpython/issues/89640
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -vfi
|
||||||
|
}
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# If these are set, distutils will default to cc and attempt to pass
|
# 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
|
# `-R<path>` to the compiler for every compiled extension that sets an
|
||||||
|
|
Loading…
Add table
Reference in a new issue