Commit a0ec0656 authored by Alexandre Julliard's avatar Alexandre Julliard

make_specfiles: Don't copy the ordinal flag if not appropriate.

parent 44d5d395
...@@ -219,7 +219,12 @@ sub update_spec_file($) ...@@ -219,7 +219,12 @@ sub update_spec_file($)
goto done; goto done;
} }
my $flags = ($parent{callconv} ne "stub" || $update_flags) ? $parent{flags} : $descr{flags}; my $flags = $descr{flags};
if ($parent{callconv} ne "stub" || $update_flags)
{
$flags = $parent{flags};
$flags =~ s/-ordinal\s*// if $descr{ordinal} eq "@";
}
if ($parent{callconv} ne "stub" || $parent{args}) if ($parent{callconv} ne "stub" || $parent{args})
{ {
......
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