Skip to content

Commit

Permalink
configure: add arm64 for Mac M1
Browse files Browse the repository at this point in the history
Add additional architecture to builds.

Fixes PortAudio#445
  • Loading branch information
philburk authored and illuusio committed Oct 21, 2021
1 parent fa0e286 commit 2b2fb48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -15861,7 +15861,7 @@ case "${host_os}" in
esac

mac_arches=""
for arch in x86_64
for arch in x86_64 arm64
do
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -arch $arch"
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ case "${host_os}" in
dnl Pick which architectures to build for based on what
dnl the compiler supports.
mac_arches=""
for arch in x86_64
for arch in x86_64 arm64
do
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -arch $arch"
Expand Down

0 comments on commit 2b2fb48

Please sign in to comment.