diff --git a/wrappers/clang-target-wrapper.c b/wrappers/clang-target-wrapper.c index a2a4262..0bebadc 100644 --- a/wrappers/clang-target-wrapper.c +++ b/wrappers/clang-target-wrapper.c @@ -293,7 +293,7 @@ int _tmain(int argc, TCHAR* argv[]) { } else if (!_tcscmp(arch, _T("armv7"))) { // Dwarf is the default here. } else if (!_tcscmp(arch, _T("aarch64"))) { - // Dwarf is the default here. + exec_argv[arg++] = _T("-fseh-exceptions"); } if (target_os && !_tcscmp(target_os, _T("mingw32uwp"))) { diff --git a/wrappers/clang-target-wrapper.sh b/wrappers/clang-target-wrapper.sh index 07d2793..6db9330 100755 --- a/wrappers/clang-target-wrapper.sh +++ b/wrappers/clang-target-wrapper.sh @@ -50,7 +50,7 @@ armv7) # Dwarf is the default here. ;; aarch64) - # Dwarf is the default here. + FLAGS="$FLAGS -fseh-exceptions" ;; esac case $TARGET_OS in