From 29500b20934615b8b96790839f88802ef641f5a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Thu, 3 Sep 2020 08:55:00 +0200 Subject: [PATCH] Fix 'oa64e-clang' architecture (arm64 -> arm64e) --- wrapper/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrapper/main.cpp b/wrapper/main.cpp index cc94f69..9856386 100644 --- a/wrapper/main.cpp +++ b/wrapper/main.cpp @@ -442,10 +442,10 @@ bool detectTarget(int argc, char **argv, Target &target) { target.arch = Arch::x86_64h; else if (!strncmp(cmd, "o64", 3)) target.arch = Arch::x86_64; + else if (!strncmp(cmd, "oa64e", 5)) + target.arch = Arch::arm64e; else if (!strncmp(cmd, "oa64", 4)) target.arch = Arch::arm64; - else if (!strncmp(cmd, "oa64e", 4)) - target.arch = Arch::arm64e; else return false;