Skip to content

Commit

Permalink
eclass/toolchain-funcs: add arm64-macos detection
Browse files Browse the repository at this point in the history
Thanks Ryan Qian.

Closes: https://bugs.gentoo.org/920160
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
  • Loading branch information
grobian committed Dec 16, 2023
1 parent 55996b0 commit 5136685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eclass/toolchain-funcs.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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;;
Expand Down

0 comments on commit 5136685

Please sign in to comment.