Browse Source
Merge pull request #3102 from martin-frbg/issue3099
Strip pkgversion info from compiler version string before comparing
tags/v0.3.14^2
Martin Kroeker
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
f_check
|
|
|
@@ -75,6 +75,7 @@ if ($compiler eq "") { |
|
|
|
|
|
|
|
} elsif ($data =~ /GNU/ || $data =~ /GCC/ ) { |
|
|
|
|
|
|
|
$data =~ s/\(+.*?\)+//g; |
|
|
|
$data =~ /(\d+)\.(\d+).(\d+)/; |
|
|
|
$major = $1; |
|
|
|
$minor = $2; |
|
|
|
|