Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: disable gmp if targeting darwin on aarch64 when on 'auto' #52

Merged
merged 1 commit into from
Nov 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,21 @@ AC_ARG_WITH([backend],
if test x"$want_backend" = x"auto"; then
GMP_CHECK
if test x"$has_gmp" = x"yes"; then
want_backend=gmp
case $host in
*darwin*)
case $host_cpu in
aarch*)
want_backend=easy
;;
*)
want_backend=gmp
;;
esac
;;
*)
want_backend=gmp
;;
esac
else
want_backend=easy
fi
Expand Down