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

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: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent e4e05cda
......@@ -1250,6 +1250,8 @@ static void build(struct options* opts)
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)
{
strarray_add(spec_args, "--entry");
......
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