winegcc: Don't pass the as/ld/nm commands to winebuild.
winebuild should be able to find them on its own.
This commit is contained in:
parent
88fd1ba7b5
commit
a5947ffcd1
|
@ -62,7 +62,7 @@ ALLCFLAGS = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLA
|
|||
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
|
||||
IDLFLAGS = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
|
||||
TARGETFLAGS = @TARGETFLAGS@
|
||||
WINEBUILDFLAGS = $(TARGETFLAGS) $(DLLFLAGS) --as-cmd "$(AS)"
|
||||
WINEBUILDFLAGS = $(TARGETFLAGS) $(DLLFLAGS)
|
||||
MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
|
||||
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
|
||||
WINEWRAPPER = $(TOPSRCDIR)/tools/winewrapper
|
||||
|
|
|
@ -646,12 +646,6 @@ static void build(struct options* opts)
|
|||
}
|
||||
if (opts->force_pointer_size)
|
||||
strarray_add(spec_args, strmake("-m%u", 8 * opts->force_pointer_size ));
|
||||
strarray_add(spec_args, "--as-cmd");
|
||||
strarray_add(spec_args, AS);
|
||||
strarray_add(spec_args, "--ld-cmd");
|
||||
strarray_add(spec_args, LD);
|
||||
strarray_add(spec_args, "--nm-cmd");
|
||||
strarray_add(spec_args, NM);
|
||||
strarray_addall(spec_args, strarray_fromstring(DLLFLAGS, " "));
|
||||
strarray_add(spec_args, opts->shared ? "--dll" : "--exe");
|
||||
strarray_add(spec_args, "-o");
|
||||
|
|
Loading…
Reference in New Issue