Module: wine Branch: master Commit: 7cb188fdb1227c8249f9fbd9b63ebdf1223a89e8 URL: https://source.winehq.org/git/wine.git/?a=commit;h=7cb188fdb1227c8249f9fbd9b...
Author: Huw Davies huw@codeweavers.com Date: Tue Mar 12 08:44:12 2019 +0000
winegcc: Restore the linker option specifier for strip.
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winegcc/winegcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index b58c39a..94d2906 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -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: