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
434 B
Diff
14 lines
434 B
Diff
diff -ru a/config.guess b/config.guess
|
|
--- a/config.guess 2021-05-14 10:42:08.000000000 +0200
|
|
+++ b/config.guess 2021-12-20 01:38:22.000000000 +0100
|
|
@@ -1276,6 +1276,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
|
|
eval $set_cc_for_build
|