aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-24 15:31:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-24 15:31:35 +0200
commit78773876deea6da93b617d1d345913ae56c10883 (patch)
tree6ed4f4e0eba3e50c0293462bdfd239cace96138e /libbuild2/cc
parent82e8e6d46cb26fd15fc807da0ee31762f38adfca (diff)
Fix bug in previous commit
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/guess.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx
index 33364a8..16b05a0 100644
--- a/libbuild2/cc/guess.cxx
+++ b/libbuild2/cc/guess.cxx
@@ -1742,7 +1742,7 @@ namespace build2
t = "x86_64-microsoft-win32-msvc";
else if (cpu == "x86" || cpu == "80x86")
t = "i386-microsoft-win32-msvc";
- if (cpu == "ARM64")
+ else if (cpu == "ARM64")
t = "aarch64-microsoft-win32-msvc";
else
assert (false);