Skip to content

Commit

Permalink
Merge pull request #15627 from mlschroe/master
Browse files Browse the repository at this point in the history
[backend] make expandflags:macroserial changes critical
  • Loading branch information
mlschroe committed Feb 8, 2024
2 parents acf8b59 + d1f1e94 commit 00d7939
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/BSSched/ProjPacks.pm
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ sub has_critical_config_change {
my @mprefix = ("%define _project $projid", "%define _repository $repoid");
my $cold = Build::read_config($arch, [ @mprefix, split("\n", $oldconfig || '') ]);
my $cnew = Build::read_config($arch, [ @mprefix, split("\n", $newconfig || '') ]);
return 1 if ($cold->{'expandflags:macroserial'} || '') ne ($cnew->{'expandflags:macroserial'} || '');
return 1 unless BSUtil::identical($cold->{'macros'}, $cnew->{'macros'});
return 1 unless BSUtil::identical($cold->{'type'}, $cnew->{'type'});
# some buildflags change the dependency parsing
Expand Down

0 comments on commit 00d7939

Please sign in to comment.