winegcc: Only pass large-address-aware option for i386 builds.
This commit is contained in:
parent
56d7e3b9a7
commit
1b02177a55
|
@ -926,7 +926,8 @@ static void build(struct options* opts)
|
|||
if (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)
|
||||
strarray_add(link_args, mingw_unicode_hack(opts));
|
||||
|
|
Loading…
Reference in New Issue