winebuild: Pass -m options to dlltool for arm and arm64.

This allows using the arch independent llvm-dlltool without the
llvm-mingw specific <triple>-dlltool wrappers.

Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Martin Storsjo 2020-12-19 00:35:05 +02:00 committed by Alexandre Julliard
parent e9fa452ba3
commit dc46af7245
1 changed files with 8 additions and 0 deletions

View File

@ -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;