From 3987913453fc8c723068997f8af7c6a66f72f0c0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 10 Jun 2013 12:30:21 +0200 Subject: [PATCH] winegcc: Pass the C compiler name to winebuild. --- tools/winegcc/winegcc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 65f066c41cc..89ea31001aa 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -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 ));