Alexandre Julliard : winegcc: Pass the C compiler name to winebuild.

Alexandre Julliard julliard at winehq.org
Mon Jun 10 15:12:44 CDT 2013


Module: wine
Branch: master
Commit: 3987913453fc8c723068997f8af7c6a66f72f0c0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3987913453fc8c723068997f8af7c6a66f72f0c0

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jun 10 12:30:21 2013 +0200

winegcc: Pass the C compiler name to winebuild.

---

 tools/winegcc/winegcc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 65f066c..89ea310 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 ));




More information about the wine-cvs mailing list