winegcc: Forward -marm and -mthumb options to winebuild.

This commit is contained in:
Alexandre Julliard 2014-02-12 12:57:48 +01:00
parent 6c807b7472
commit 4a4006d4f0
1 changed files with 5 additions and 0 deletions

View File

@ -1503,6 +1503,11 @@ int main(int argc, char **argv)
opts.force_pointer_size = 8;
raw_linker_arg = 1;
}
else if (!strcmp("-marm", argv[i] ) || !strcmp("-mthumb", argv[i] ))
{
strarray_add(opts.winebuild_args, argv[i]);
raw_linker_arg = 1;
}
else if (strncmp("-mcpu=", argv[i], 6) == 0)
strarray_add(opts.winebuild_args, argv[i]);
break;