winegcc: Don't pass ld command to winebuild when building PE file.

It's not used anyway.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-02-28 14:52:40 +01:00 committed by Alexandre Julliard
parent e7fe6c0ac2
commit 747c46a4bc
1 changed files with 1 additions and 1 deletions

View File

@ -1157,7 +1157,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 )));
strarray_add( spec_args, strmake( "--ld-cmd=%s", build_tool_name( opts, "ld", LD )));
if (!is_pe) strarray_add( spec_args, strmake( "--ld-cmd=%s", build_tool_name( opts, "ld", LD )));
spec_o_name = get_temp_file(output_name, ".spec.o");
if (opts->force_pointer_size)