Commit 7f62f7be authored by Fan WenJie's avatar Fan WenJie Committed by Alexandre Julliard

winebuild: Only set thumb_mode on ARM targets.

parent 31792f43
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment