Skip to content

Commit de71066

Browse files
committed
fix: set --host=x86_64-* when building Flint and MPFR
This is needed when building portable wheels for PyPI upload.
1 parent 71e4800 commit de71066

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/build_dependencies_unix.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ else
257257
tar xf mpfr-$MPFRVER.tar.gz
258258
cd mpfr-$MPFRVER
259259
./configure --prefix=$PREFIX\
260+
--host=$HOST_ARG\
260261
--with-gmp=$PREFIX\
261262
--enable-shared=yes\
262263
--enable-static=no
@@ -282,6 +283,7 @@ tar xf flint-$FLINTVER.tar.gz
282283
cd flint-$FLINTVER
283284
./bootstrap.sh
284285
./configure --prefix=$PREFIX\
286+
--host=$HOST_ARG\
285287
$FLINTARB_WITHGMP\
286288
--with-mpfr=$PREFIX\
287289
--disable-static\

0 commit comments

Comments
 (0)