winegcc: Pass through -march to winebuild.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stephen Kitt 2015-12-13 21:01:20 +01:00 committed by Alexandre Julliard
parent 33c729bb1b
commit 312b7b43cb
1 changed files with 1 additions and 1 deletions

View File

@ -1525,7 +1525,7 @@ int main(int argc, char **argv)
strarray_add(opts.winebuild_args, argv[i]);
raw_linker_arg = 1;
}
else if (strncmp("-mcpu=", argv[i], 6) == 0)
else if (strncmp("-mcpu=", argv[i], 6) == 0 || strncmp("-march=", argv[i], 7) == 0)
strarray_add(opts.winebuild_args, argv[i]);
break;
case 'n':