mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 18:29:28 +00:00
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
|
@ -174,7 +174,7 @@ static void set_target( const char *name )
|
||||||
target_alias = xstrdup( name );
|
target_alias = xstrdup( name );
|
||||||
|
|
||||||
if (!parse_target( name, &target )) fatal_error( "Unrecognized target '%s'\n", 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;
|
if (is_pe()) unwind_tables = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue