Module: wine Branch: master Commit: 7f62f7be878a2dd17ad9824dc88df17613ccb1cd URL: https://gitlab.winehq.org/wine/wine/-/commit/7f62f7be878a2dd17ad9824dc88df17...
Author: Fan WenJie fanwj@mail.ustc.edu.cn Date: Fri Jan 20 21:07:45 2023 +0800
winebuild: Only set thumb_mode on ARM targets.
Signed-off-by: Fan WenJie fanwj@mail.ustc.edu.cn
---
tools/winebuild/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winebuild/main.c b/tools/winebuild/main.c index aae223f9e57..7798276d79c 100644 --- a/tools/winebuild/main.c +++ b/tools/winebuild/main.c @@ -174,7 +174,7 @@ static void set_target( const char *name ) target_alias = xstrdup( name );
if (!parse_target( name, &target )) fatal_error( "Unrecognized target '%s'\n", name ); - if (target.cpu == CPU_ARM && is_pe()) thumb_mode = 1; + thumb_mode = target.cpu == CPU_ARM && is_pe(); if (is_pe()) unwind_tables = 1; }