Commit aae296bf authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winegcc: Always mark executables as nx compat.

parent d5410870
...@@ -450,6 +450,8 @@ static strarray *get_link_args( struct options *opts, const char *output_name ) ...@@ -450,6 +450,8 @@ static strarray *get_link_args( struct options *opts, const char *output_name )
} }
} }
strarray_add( flags, "-Wl,--nxcompat" );
if (opts->image_base) strarray_add( flags, strmake("-Wl,--image-base,%s", opts->image_base )); if (opts->image_base) strarray_add( flags, strmake("-Wl,--image-base,%s", opts->image_base ));
if (opts->large_address_aware && opts->target_cpu == CPU_x86) if (opts->large_address_aware && opts->target_cpu == CPU_x86)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment