Skip to content

Commit d12a2d0

Browse files
authored
Merge pull request #3120 from martin-frbg/3118-x
Fix use of undefined CC variable in f_check
2 parents e3a6132 + 2d369bd commit d12a2d0

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)