winebuild: Only set thumb_mode on ARM targets.

Signed-off-by: Fan WenJie <fanwj@mail.ustc.edu.cn>
This commit is contained in:
Fan WenJie 2023-01-20 21:07:45 +08:00 committed by Alexandre Julliard
parent 31792f4370
commit 7f62f7be87

View file

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