From dc46af72453b4e20710e7f9b72099864d10f9d1c Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Sat, 19 Dec 2020 00:35:05 +0200 Subject: [PATCH] winebuild: Pass -m options to dlltool for arm and arm64. This allows using the arch independent llvm-dlltool without the llvm-mingw specific -dlltool wrappers. Signed-off-by: Martin Storsjo Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- tools/winebuild/import.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/winebuild/import.c b/tools/winebuild/import.c index fb5c26da07f..bd25ec5ee70 100644 --- a/tools/winebuild/import.c +++ b/tools/winebuild/import.c @@ -1856,6 +1856,14 @@ static void build_windows_import_lib( DLLSPEC *spec ) m_flag = "i386:x86-64"; as_flags = "--as-flags=--64"; break; + case CPU_ARM: + m_flag = "arm"; + as_flags = NULL; + break; + case CPU_ARM64: + m_flag = "arm64"; + as_flags = NULL; + break; default: m_flag = NULL; break;