Browse Source

Avoid linking both GNU libgomp and LLVM libomp in clang/gfortran builds

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

+ 3
- 0
f_check View File

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

if (
($flags =~ /^\-l/)


Loading…
Cancel
Save