Revert "Fix undefined CC in f_check (again)"

This commit is contained in:
Martin Kroeker 2021-02-26 04:18:04 +01:00 committed by GitHub
parent 897fc2b6ef
commit 736f0146c3
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/ && $ENV("CC") =~ /clang/) {
if ($flags =~ /-lgomp/ && $CC =~ /clang/) {
$flags = "-lomp";
}