python: cross
This commit is contained in:
parent
f155ccb2a8
commit
25b5bd7b32
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue