Skip to content

Commit

Permalink
Apply patch from cil-project#30.
Browse files Browse the repository at this point in the history
  • Loading branch information
vesalvojdani committed Oct 13, 2021
1 parent e374cf6 commit a9c01bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cilly.pm.in
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@ sub setVersion {
. join(' ', @{$self->{PPARGS}}) ." |")
|| die "Cannot start GNUCC";
while(<VER>) {
if($_ =~ m|^(\d+\S+)| || $_ =~ m|^(egcs-\d+\S+)|) {
if($_ =~ m|^(\d+\S+)| || $_ =~ m|^(\d+)$| || $_ =~ m|^(egcs-\d+\S+)|) {
$cversion = "gcc_$1";
close(VER) || die "Cannot start GNUCC\n";
$self->{VERSION} = $cversion;
Expand Down

0 comments on commit a9c01bf

Please sign in to comment.