Merge pull request #2832 from martin-frbg/issue2831

Fix gfortran detection by vendor matching
This commit is contained in:
Martin Kroeker 2020-09-13 21:20:30 +02:00 committed by GitHub
commit 6b52c7e172
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ if ($compiler eq "") {
$bu = "_"; $bu = "_";
} }
if ($data =~ /GNU/) { if ($data =~ /GNU/ || $data =~ /GCC/ ) {
$data =~ /(\d+)\.(\d+).(\d+)/; $data =~ /(\d+)\.(\d+).(\d+)/;
$major = $1; $major = $1;