Module: wine Branch: master Commit: 0d3ff192aaad8b65eb25ea426442760ebc4e35d0 URL: https://gitlab.winehq.org/wine/wine/-/commit/0d3ff192aaad8b65eb25ea426442760...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 27 13:32:49 2023 +0200
winegcc: Enable dynamic base by default.
---
tools/winegcc/winegcc.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 968e472227e..b8eb5e4fc79 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -409,6 +409,8 @@ static struct strarray get_link_args( struct options *opts, const char *output_n
strarray_add( &flags, "-Wl,--exclude-all-symbols" ); strarray_add( &flags, "-Wl,--nxcompat" ); + strarray_add( &flags, "-Wl,--dynamicbase" ); + strarray_add( &flags, "-Wl,--disable-auto-image-base" );
if (opts->image_base) strarray_add( &flags, strmake("-Wl,--image-base,%s", opts->image_base ));