Module: wine Branch: master Commit: 0d175fe861826d4cf756291bd43404aba065cec6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=0d175fe861826d4cf756291bd...
Author: Alexandre Julliard julliard@winehq.org Date: Thu May 16 16:04:00 2019 +0200
winegcc: Use -static-libgcc for the Windows build.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
tools/winegcc/winegcc.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index d339139..33f838f 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -455,6 +455,9 @@ static strarray *get_link_args( struct options *opts, const char *output_name ) if (opts->large_address_aware && opts->target_cpu == CPU_x86) strarray_add( flags, "-Wl,--large-address-aware" );
+ /* make sure we don't need a libgcc_s dll on Windows */ + strarray_add( flags, "-static-libgcc" ); + return flags;
default: