Update README.md

This commit is contained in:
kanjitalk755 2023-05-16 09:52:21 +09:00 committed by GitHub
parent d66da33874
commit c4c153c49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ $ make
$ make check $ make check
$ sudo make install $ sudo make install
``` ```
On an Intel Mac, change the `configure` command for both GMP and MPFR as follows, and ignore the `make check` command: On an Intel Mac, the libraries should be cross-built.
Change the `configure` command for both GMP and MPFR as follows, and ignore the `make check` command:
``` ```
$ CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared $ CFLAGS="-arch arm64" CXXFLAGS="$CFLAGS" ./configure -host=aarch64-apple-darwin --disable-shared
``` ```