summaryrefslogtreecommitdiff
path: root/repo/python/python.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-12-11 18:08:51 +0000
committerdavidovski <david@davidovski.xyz>2022-12-11 18:08:51 +0000
commit4c61af227b0fb3e028c877dc1c2e0b6513960762 (patch)
tree7c6bf0a36805ab40911d4af9f81d8a839fa4972b /repo/python/python.xibuild
parent63add57ef96f10f464fc1bf7c821d2281b39edeb (diff)
Updated linux
Diffstat (limited to 'repo/python/python.xibuild')
-rw-r--r--repo/python/python.xibuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/repo/python/python.xibuild b/repo/python/python.xibuild
index d01fe00..039167d 100644
--- a/repo/python/python.xibuild
+++ b/repo/python/python.xibuild
@@ -5,16 +5,23 @@ MAKEDEPS="make autoconf automake autoconf-archive sqlite3 expat bzip2 gdbm libff
PKG_VER=3.10.7
SOURCE=https://www.python.org/ftp/python/$PKG_VER/Python-$PKG_VER.tgz
DESC="The Python development environment"
+ADDITIONAL="
+fix-xattrs-glibc.patch
+musl-find_library.patch
+"
prepare () {
+ apply_patches
rm -r Modules/expat
rm -r Modules/_ctypes/darwin*
rm -r Modules/_ctypes/libffi*
+ sed -i -e "s|-flto |-flto=4 |g" configure configure.ac
+
+ GREP="/usr/bin/grep" autoreconf -fi
}
build () {
- autoreconf -i
- GREP="/usr/bin/ggrep" ./configure --prefix=/usr \
+ GREP="/usr/bin/grep" ./configure --prefix=/usr \
--enable-shared \
--with-system-expat \
--with-system-ffi \