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(a)JohnDeere.com> --- tools/winegcc/winegcc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 0aafca1271a..aa8c63f5457 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1408,6 +1408,8 @@ static void build(struct options* opts) strarray_add( &implib_args, strmake( "--cc-cmd=%s", strarray_tostring( tool, " " ))); tool = build_tool_name( opts, TOOL_LD ); strarray_add( &implib_args, strmake( "--ld-cmd=%s", strarray_tostring( tool, " " ))); + if (opts->force_pointer_size) + strarray_add(&implib_args, strmake("-m%u", 8 * opts->force_pointer_size )); strarray_add(&implib_args, "--implib"); strarray_add(&implib_args, "-o"); -- 2.34.1