Commit 1b02177a authored by Alexandre Julliard's avatar Alexandre Julliard

winegcc: Only pass large-address-aware option for i386 builds.

parent 56d7e3b9
...@@ -926,7 +926,8 @@ static void build(struct options* opts) ...@@ -926,7 +926,8 @@ static void build(struct options* opts)
if (opts->image_base) if (opts->image_base)
strarray_add(link_args, strmake("-Wl,--image-base,%s", opts->image_base)); strarray_add(link_args, strmake("-Wl,--image-base,%s", opts->image_base));
if (opts->large_address_aware) strarray_add( link_args, "-Wl,--large-address-aware" ); if (opts->large_address_aware && opts->target_cpu == CPU_x86)
strarray_add( link_args, "-Wl,--large-address-aware" );
if (opts->unicode_app && !opts->shared) if (opts->unicode_app && !opts->shared)
strarray_add(link_args, mingw_unicode_hack(opts)); strarray_add(link_args, mingw_unicode_hack(opts));
......
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