Skip to content

Commit

Permalink
Make CIL compiler with GCC >=7
Browse files Browse the repository at this point in the history
  • Loading branch information
andersfischernielsen authored and IagoAbal committed Jan 2, 2021
1 parent e5c5567 commit 3c05e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/perl5/App/Cilly.pm.in
Original file line number Diff line number Diff line change
Expand Up @@ -2212,7 +2212,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->{CVERSION} = $cversion;
Expand Down

0 comments on commit 3c05e08

Please sign in to comment.