Skip to content

Commit c6ecb19

Browse files
authored
Merge pull request #2337 from martin-frbg/issue2336
Support two-digit version numbers in gcc version check
2 parents a4896b5 + b28db31 commit c6ecb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

f_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if ($compiler eq "") {
7171

7272
if ($data =~ /GNU/) {
7373

74-
$data =~ /(\d)\.(\d).(\d)/;
74+
$data =~ /(\d+)\.(\d+).(\d+)/;
7575
$major = $1;
7676
$minor = $2;
7777

0 commit comments

Comments
 (0)