winegcc: --out-implib needs to propagate -m32/-m64 to winebuild.
This was already passed through for linking, and for spec.o files,
but was overlooked when implementing -Wl,--out-implib
Signed-off-by: Kevin Puetz <PuetzKevinA@JohnDeere.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit ccf7b4459b
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
7357361fef
commit
c6bc349e5c
1 changed files with 2 additions and 2 deletions
|
@ -889,6 +889,8 @@ static struct strarray get_winebuild_args(struct options *opts)
|
|||
strarray_add( &spec_args, "--target" );
|
||||
strarray_add( &spec_args, opts->target_alias );
|
||||
}
|
||||
if (opts->force_pointer_size)
|
||||
strarray_add(&spec_args, strmake("-m%u", 8 * opts->force_pointer_size ));
|
||||
for (i = 0; i < opts->prefix.count; i++)
|
||||
strarray_add( &spec_args, strmake( "-B%s", opts->prefix.str[i] ));
|
||||
strarray_addall( &spec_args, opts->winebuild_args );
|
||||
|
@ -1017,8 +1019,6 @@ static const char *build_spec_obj( struct options *opts, const char *spec_file,
|
|||
}
|
||||
|
||||
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 ));
|
||||
if (opts->pic && !is_pe) strarray_add(&spec_args, "-fPIC");
|
||||
strarray_add(&spec_args, opts->shared ? "--dll" : "--exe");
|
||||
if (opts->fake_module)
|
||||
|
|
Loading…
Add table
Reference in a new issue