Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2020-08-02 16:42:47 +0300
committerGitHub <noreply@github.com>2020-08-02 16:42:47 +0300
commit92f54ee4c2884fa42e7875e27c9f82f0679ce8b3 (patch)
tree8eb1fe7e3bcc00b711e71d4bb45cd5e9e3009de2 /configure.ac
parent71307187cb1e9d8202d30fcaa1f5c4e4a66bc551 (diff)
[runtime] Add a configure workaround for apple silicon + older config.guess versions. (#20192)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6c114a3765b..1c8d9ccd441 100644
--- a/configure.ac
+++ b/configure.ac
@@ -408,6 +408,13 @@ case "$host" in
host_sunos=yes
;;
*-*-darwin*)
+ # Temporary workaround for Apple Silicon
+ # config.guess returns arm-apple-darwin20.0.0
+ if test $ac_cv_host = arm-apple-darwin20.0.0 -o $ac_cv_target = arm-apple-darwin20.0.0; then
+ echo "You are running on Apple Silicon, but using an old config.guess, invoke configure like this:"
+ echo "Run configure using ./configure --host=aarch64-apple-darwin20.0.0 --target=aarch64-apple-darwin20.0.0"
+ exit 1
+ fi
parallel_mark="Disabled_Currently_Hangs_On_MacOSX"
host_darwin=yes
target_mach=yes