From: Jacek Caban <jacek@codeweavers.com> --- configure | 8 ++++++-- configure.ac | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/configure b/configure index ed9c961efcc..6ffc2a8e580 100755 --- a/configure +++ b/configure @@ -7703,9 +7703,13 @@ fi target_strip=${target:-llvm}-strip if test "$wine_try_msvc" = yes -o -z "$target" then - llvm_target="$mingw_cpu-windows" + case $wine_arch in + arm) llvm_target="$mingw_cpu-windows-gnu" + llvm_cflags="-mconsole -Wl,--fatal-warnings" ;; + *) llvm_target="$mingw_cpu-windows" + llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;; + esac llvm_extra_cflags="-target $llvm_target -fuse-ld=lld" - llvm_cflags="-Wl,-subsystem:console -Wl,-WX" else llvm_target=$target llvm_extra_cflags="-fuse-ld=lld" diff --git a/configure.ac b/configure.ac index f63669df192..78364d27346 100644 --- a/configure.ac +++ b/configure.ac @@ -469,9 +469,13 @@ do target_strip=${target:-llvm}-strip if test "$wine_try_msvc" = yes -o -z "$target" then - llvm_target="$mingw_cpu-windows" + case $wine_arch in + arm) llvm_target="$mingw_cpu-windows-gnu" + llvm_cflags="-mconsole -Wl,--fatal-warnings" ;; + *) llvm_target="$mingw_cpu-windows" + llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;; + esac llvm_extra_cflags="-target $llvm_target -fuse-ld=lld" - llvm_cflags="-Wl,-subsystem:console -Wl,-WX" else llvm_target=$target llvm_extra_cflags="-fuse-ld=lld" -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10273