Martin Storsjo : winebuild: Pass -m options to dlltool for arm and arm64.
Module: wine Branch: master Commit: dc46af72453b4e20710e7f9b72099864d10f9d1c URL: https://source.winehq.org/git/wine.git/?a=commit;h=dc46af72453b4e20710e7f9b7... Author: Martin Storsjo <martin(a)martin.st> Date: Sat Dec 19 00:35:05 2020 +0200 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(a)martin.st> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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;
participants (1)
-
Alexandre Julliard