Fix vendor match for GCC gfortran
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 13 Sep 2020 16:40:59 +0000 (18:40 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Sep 2020 16:40:59 +0000 (18:40 +0200)
f_check

diff --git a/f_check b/f_check
index dd4d347..f894aa9 100644 (file)
--- a/f_check
+++ b/f_check
@@ -69,7 +69,7 @@ if ($compiler eq "") {
            $bu       = "_";
        }
 
-       if ($data =~ /GNU/) {
+       if ($data =~ /GNU/ || $data =~ /GCC/ ) {
 
            $data =~ /(\d+)\.(\d+).(\d+)/;
            $major = $1;