Martin Storsjo : winebuild: Pass -m options to dlltool for arm and arm64.
Alexandre Julliard
julliard at winehq.org
Mon Dec 21 15:49:52 CST 2020
Module: wine
Branch: master
Commit: dc46af72453b4e20710e7f9b72099864d10f9d1c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=dc46af72453b4e20710e7f9b72099864d10f9d1c
Author: Martin Storsjo <martin at 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 at martin.st>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list