python: cross

This commit is contained in:
Ella Stanforth 2022-04-23 16:08:52 +00:00
parent f155ccb2a8
commit 25b5bd7b32

View file

@ -2,6 +2,7 @@ pkgname=python
pkgver=3.9.7 pkgver=3.9.7
bad="" bad=""
ext="doc" ext="doc"
auto_cross
fetch() { fetch() {
curl "https://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz curl "https://www.python.org/ftp/python/$pkgver/Python-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
@ -13,8 +14,8 @@ build() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--build=$TARGET \ --build=$HOST_TRIPLE \
--host=$TARGET \ --host=$TRIPLE \
--with-system-ffi=true \ --with-system-ffi=true \
--with-ssl-default-suites=openssl \ --with-ssl-default-suites=openssl \
ax_cv_c_float_words_bigendian=no ax_cv_c_float_words_bigendian=no