Skip to content

Commit 5cf18e2

Browse files
authored
Merge pull request #1878 from kiwifb/PGI_f_check
Correct link flags for PGI compiler.
2 parents 9100509 + 0184713 commit 5cf18e2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

f_check

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,6 @@ if ($link ne "") {
292292
&& ($flags !~ /^-LIST:/)
293293
&& ($flags !~ /^-LANG:/)
294294
) {
295-
if ($vendor eq "PGI") {
296-
$flags =~ s/lib$/libso/;
297-
}
298295
$linker_L .= $flags . " ";
299296
}
300297

@@ -311,17 +308,11 @@ if ($link ne "") {
311308

312309
if ($flags =~ /^\-rpath\@/) {
313310
$flags =~ s/\@/\,/g;
314-
if ($vendor eq "PGI") {
315-
$flags =~ s/lib$/libso/;
316-
}
317311
$linker_L .= "-Wl,". $flags . " " ;
318312
}
319313

320314
if ($flags =~ /^\-rpath-link\@/) {
321315
$flags =~ s/\@/\,/g;
322-
if ($vendor eq "PGI") {
323-
$flags =~ s/lib$/libso/;
324-
}
325316
$linker_L .= "-Wl,". $flags . " " ;
326317
}
327318

@@ -330,7 +321,6 @@ if ($link ne "") {
330321
&& ($flags !~ /gfortranbegin/)
331322
&& ($flags !~ /frtbegin/)
332323
&& ($flags !~ /pathfstart/)
333-
&& ($flags !~ /numa/)
334324
&& ($flags !~ /crt[0-9]/)
335325
&& ($flags !~ /gcc/)
336326
&& ($flags !~ /user32/)

0 commit comments

Comments
 (0)