Skip to content

Commit 897fc2b

Browse files
authored
Merge pull request #3118 from martin-frbg/issue3018-2
Fix undefined CC in f_check (again)
2 parents 4ba53db + 441c116 commit 897fc2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

f_check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ if ($link ne "") {
330330
$flags =~ s/\@/\,/g;
331331
$linker_L .= "-Wl,". $flags . " " ;
332332
}
333-
if ($flags =~ /-lgomp/ && $CC =~ /clang/) {
333+
if ($flags =~ /-lgomp/ && $ENV("CC") =~ /clang/) {
334334
$flags = "-lomp";
335335
}
336336

0 commit comments

Comments
 (0)