winegcc: Restore the linker option specifier for strip.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2019-03-12 08:44:12 +00:00 committed by Alexandre Julliard
parent 5baadda536
commit 7cb188fdb1

View file

@ -406,7 +406,7 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
strarray_add( flags, "-image_base" );
strarray_add( flags, opts->image_base );
}
if (opts->strip) strarray_add( flags, "-x" );
if (opts->strip) strarray_add( flags, "-Wl,-x" );
return flags;
case PLATFORM_SOLARIS: