mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
insns.pl: fix unnecessary build reproducibility failure
Instead of sorting the list of flags by number, it sorted it by hash. Reported-by: <bbhtt@bbhtt.in> Fixes: https://github.com/netwide-assembler/nasm/issues/220 Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
6f830c1c74
commit
5e6a181fec
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ sub merge_flags($;$) {
|
|||
|
||||
clean_flags(\%flags);
|
||||
|
||||
my @flagslist = sort { $flag_byname{$a} <=> $flag_byname{$b} }
|
||||
my @flagslist = sort { $flag_byname{$a}->[0] <=> $flag_byname{$b}->[0] }
|
||||
grep { !/^(\s*|\!.*)$/ } keys(%$flags);
|
||||
|
||||
if ($human) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue