winegcc: Pass the C compiler name to winebuild.

This commit is contained in:
Alexandre Julliard 2013-06-10 12:30:21 +02:00
parent 98e6a0da73
commit 3987913453
1 changed files with 1 additions and 0 deletions

View File

@ -940,6 +940,7 @@ static void build(struct options* opts)
/* run winebuild to generate the .spec.o file */
spec_args = get_winebuild_args( opts );
strarray_add( spec_args, strmake( "--cc-cmd=%s", build_tool_name( opts, "gcc", CC )));
spec_o_name = get_temp_file(output_name, ".spec.o");
if (opts->force_pointer_size)
strarray_add(spec_args, strmake("-m%u", 8 * opts->force_pointer_size ));