summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-04-02 01:31:02 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-04-02 01:31:02 +0200
commit72016a30f1f000a31af13bb00cc9aa0790120388 (patch)
treef1bda760fd899abf086bd1f853d3927e4265105f
parent1a16def28935548e29be0fe5a632e25c83045924 (diff)
downloadmrust-72016a30f1f000a31af13bb00cc9aa0790120388.tar.gz
Fix aarch64 triplet from arm64-* to aarch64-*
ARM's 64-bit ISA introduced in ARMv8-A is called "aarch64" by most projects, including Rust and GCC. Better to avoid more confusions.
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 369c80de..212cdfd3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -38,7 +38,7 @@
# if defined(__amd64__)
# define DEFAULT_TARGET_NAME "x86_64-linux-gnu"
# elif defined(__aarch64__)
-# define DEFAULT_TARGET_NAME "arm64-linux-gnu"
+# define DEFAULT_TARGET_NAME "aarch64-linux-gnu"
# elif defined(__arm__)
# define DEFAULT_TARGET_NAME "arm-linux-gnu"
# elif defined(__i386__)
@@ -60,7 +60,7 @@
# if defined(__amd64__)
# define DEFAULT_TARGET_NAME "x86_64-unknown-openbsd"
# elif defined(__aarch64__)
-# define DEFAULT_TARGET_NAME "arm64-unknown-openbsd"
+# define DEFAULT_TARGET_NAME "aarch64-unknown-openbsd"
# elif defined(__arm__)
# define DEFAULT_TARGET_NAME "arm-unknown-openbsd"
# elif defined(__i386__)