Browse Source

Support two-digit version numbers in gcc version check

fixes #2336 (non-recognition of gcc 10) with patch provided by JeffreyALaw.
tags/v0.3.8^2
Martin Kroeker GitHub 5 years ago
parent
commit
b28db31429
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      f_check

+ 1
- 1
f_check View File

@@ -71,7 +71,7 @@ if ($compiler eq "") {

if ($data =~ /GNU/) {

$data =~ /(\d)\.(\d).(\d)/;
$data =~ /(\d+)\.(\d+).(\d+)/;
$major = $1;
$minor = $2;



Loading…
Cancel
Save