File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ set -o errexit
1818
1919SKIP_GMP=no
2020SKIP_MPFR=no
21+ FAT_GMP_ARG=" --enable-fat"
2122
2223USE_GMP=gmp
2324PATCH_GMP_ARM64=no
3738 echo " --host <HOST> - set the host (target) for GMP build"
3839 echo " --skip-gmp - skip building GMP"
3940 echo " --skip-mpfr - skip building MPFR"
41+ echo " --disable-fat - disable building fat binaries"
4042 echo
4143 echo " Legacy options:"
4244 echo " --gmp gmp - build based on GMP (default)"
8385 SKIP_MPFR=yes
8486 shift
8587 ;;
88+ --disable-fat)
89+ # Disable building fat binaries
90+ FAT_GMP_ARG=" --disable-assembly"
91+ shift
92+ ;;
8693 --patch-gmp-arm64)
8794 # Needed only for GMP 6.2.1 on OSX arm64 (Apple M1) hardware
8895 # As of GMP 6.3.0 this patch is no longer needed
@@ -190,7 +197,7 @@ if [ $USE_GMP = "gmp" ]; then
190197 ./configfsf.guess
191198
192199 ./configure --prefix=$PREFIX \
193- --enable-fat \
200+ $FAT_GMP_ARG \
194201 --enable-shared=yes\
195202 --enable-static=no\
196203 --host=$HOST_ARG
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ pacman -S --noconfirm \
1515 #
1616
1717bin/build_dependencies_unix.sh \
18+ --disable-fat\
1819 --use-gmp-github-mirror\
1920 --patch-C23\
2021 #
You can’t perform that action at this time.
0 commit comments