Browse Source

Fix undefined CC variable in clang check

tags/v0.3.14^2
Martin Kroeker GitHub 4 years ago
parent
commit
b03dc011be
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      f_check

+ 1
- 1
f_check View File

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



Loading…
Cancel
Save