make_specfiles: Don't copy the ordinal flag if not appropriate.
This commit is contained in:
parent
44d5d3951b
commit
a0ec065666
|
@ -219,7 +219,12 @@ sub update_spec_file($)
|
|||
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})
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue