Update f_check

This commit is contained in:
Martin Kroeker 2020-12-03 23:43:17 +01:00 committed by GitHub
parent 74b5850581
commit a1eecccda2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ if ($link ne "") {
$flags =~ s/\@/\,/g;
$linker_L .= "-Wl,". $flags . " " ;
}
if ($flags =~ /-lgomp/ && $CC == /clang/) {
if ($flags =~ /-lgomp/ && $CC =~ /clang/) {
$flags = "-lomp";
}