From 5136685f4f05440d4a47d5dfa19e7d5a7448617c Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 16 Dec 2023 16:34:59 +0100 Subject: [PATCH] eclass/toolchain-funcs: add arm64-macos detection Thanks Ryan Qian. Closes: https://bugs.gentoo.org/920160 Signed-off-by: Fabian Groffen --- eclass/toolchain-funcs.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 1c7a34bd82..166ea71e7e 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -689,6 +689,7 @@ ninj() { [[ ${type} == "kern" ]] && echo $1 || echo $2 ; } case ${host} in powerpc-apple-darwin*) echo ppc-macos;; x86_64-apple-darwin*) echo x64-macos;; + arm64-apple-darwin*) echo arm64-macos;; sparc-sun-solaris*) echo sparc-solaris;; sparcv9-sun-solaris*) echo sparc64-solaris;; i?86-pc-solaris*) echo x86-solaris;;