winegcc: Add support for -mfloat-abi option.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-12-08 11:55:42 +01:00
parent 0c42b33a0b
commit c81de726f2
1 changed files with 3 additions and 1 deletions

View File

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