mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 21:57:48 +00:00
9f2866037a
This adds backports of a couple of patches necessary to support macOS arm64 hosts for gcc. It was ported from https://github.com/richfelker/musl-cross-make/pull/129 with some small fixups to make the patches apply cleanly. Signed-off-by: Steven Fackler <sfackler@gmail.com>
14 lines
428 B
Diff
14 lines
428 B
Diff
diff -ru a/config.guess b/config.guess
|
|
--- a/config.guess 2021-06-01 09:53:04.000000000 +0200
|
|
+++ b/config.guess 2021-12-20 01:29:55.000000000 +0100
|
|
@@ -1309,6 +1309,9 @@
|
|
*:Rhapsody:*:*)
|
|
echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
|
|
exit ;;
|
|
+ arm64:Darwin:*:*)
|
|
+ echo aarch64-apple-darwin"$UNAME_RELEASE"
|
|
+ exit ;;
|
|
*:Darwin:*:*)
|
|
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
|
set_cc_for_build
|