winebuild: Only set thumb_mode on ARM targets.
Signed-off-by: Fan WenJie <fanwj@mail.ustc.edu.cn>
This commit is contained in:
parent
31792f4370
commit
7f62f7be87
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue