Merge pull request #3119 from xianyi/revert-3118-issue3018-2

Revert "Fix undefined CC in f_check (again)"
This commit is contained in:
Martin Kroeker 2021-02-26 04:18:33 +01:00 committed by GitHub
commit e3a6132e12
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; $flags =~ s/\@/\,/g;
$linker_L .= "-Wl,". $flags . " " ; $linker_L .= "-Wl,". $flags . " " ;
} }
if ($flags =~ /-lgomp/ && $ENV("CC") =~ /clang/) { if ($flags =~ /-lgomp/ && $CC =~ /clang/) {
$flags = "-lomp"; $flags = "-lomp";
} }