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

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$/)
) {