From 5430b51e3e88888ddc8acd6df490bd9d33b51958 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 26 Jul 2020 02:00:11 +0200 Subject: [PATCH] multiarch: Prepare for x86_64+arm64 universal binaries in macOS 11. * m4/multiarch.m4 (gl_MULTIARCH): Recognize also the ARM architectures. --- ChangeLog | 5 +++++ m4/multiarch.m4 | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1c40b346c..14feb86fd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-07-25 Bruno Haible + + multiarch: Prepare for x86_64+arm64 universal binaries in macOS 11. + * m4/multiarch.m4 (gl_MULTIARCH): Recognize also the ARM architectures. + 2020-07-25 Bruno Haible sigprocmask: Small autoconf macro improvement. diff --git a/m4/multiarch.m4 b/m4/multiarch.m4 index 69b43df3aa..2c61afbd76 100644 --- a/m4/multiarch.m4 +++ b/m4/multiarch.m4 @@ -1,4 +1,4 @@ -# multiarch.m4 serial 8 +# multiarch.m4 serial 9 dnl Copyright (C) 2008-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -39,7 +39,7 @@ AC_DEFUN_ONCE([gl_MULTIARCH], for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do if test -n "$prev"; then case $word in - i?86 | x86_64 | ppc | ppc64) + i?86 | x86_64 | ppc | ppc64 | arm | arm64) if test -z "$arch" || test "$arch" = "$word"; then arch="$word" else -- 2.39.5