Browse Source
Merge pull request #2337 from martin-frbg/issue2336
Support two-digit version numbers in gcc version check
tags/v0.3.8^2
Martin Kroeker
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
f_check
|
|
|
@@ -71,7 +71,7 @@ if ($compiler eq "") { |
|
|
|
|
|
|
|
if ($data =~ /GNU/) { |
|
|
|
|
|
|
|
$data =~ /(\d)\.(\d).(\d)/; |
|
|
|
$data =~ /(\d+)\.(\d+).(\d+)/; |
|
|
|
$major = $1; |
|
|
|
$minor = $2; |
|
|
|
|
|
|
|
|