mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
winegcc: Use --safeseh winebuild option on msvc target.
lld-link requires all x86 object files to be SEH compatible unless it's explicitly disabled. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e4e05cdaab
commit
d784de82c8
1 changed files with 2 additions and 0 deletions
|
@ -1250,6 +1250,8 @@ static void build(struct options* opts)
|
||||||
if (opts->large_address_aware) strarray_add( spec_args, "--large-address-aware" );
|
if (opts->large_address_aware) strarray_add( spec_args, "--large-address-aware" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opts->target_platform == PLATFORM_WINDOWS) strarray_add(spec_args, "--safeseh");
|
||||||
|
|
||||||
if (entry_point)
|
if (entry_point)
|
||||||
{
|
{
|
||||||
strarray_add(spec_args, "--entry");
|
strarray_add(spec_args, "--entry");
|
||||||
|
|
Loading…
Reference in a new issue