remove libomp from link list only for pgfortran

at least the AMD (aocc) flavor of flang wants to link to a (real or dummy) libomp by default
This commit is contained in:
Martin Kroeker 2020-05-29 13:23:51 +02:00 committed by GitHub
parent dd7a650792
commit 200296b0f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ if ($link ne "") {
&& ($flags !~ /kernel32/)
&& ($flags !~ /advapi32/)
&& ($flags !~ /shell32/)
&& ($flags !~ /omp/)
&& ($vendor =~ /PGI/ && $flags !~ /omp/)
&& ($flags !~ /[0-9]+/)
&& ($flags !~ /^\-l$/)
) {