Browse Source

Correct link flags for PGI compiler.

tags/v0.3.4
François Bissey 7 years ago
parent
commit
0184713e1a
1 changed files with 0 additions and 10 deletions
  1. +0
    -10
      f_check

+ 0
- 10
f_check View File

@@ -292,9 +292,6 @@ if ($link ne "") {
&& ($flags !~ /^-LIST:/) && ($flags !~ /^-LIST:/)
&& ($flags !~ /^-LANG:/) && ($flags !~ /^-LANG:/)
) { ) {
if ($vendor eq "PGI") {
$flags =~ s/lib$/libso/;
}
$linker_L .= $flags . " "; $linker_L .= $flags . " ";
} }


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


if ($flags =~ /^\-rpath\@/) { if ($flags =~ /^\-rpath\@/) {
$flags =~ s/\@/\,/g; $flags =~ s/\@/\,/g;
if ($vendor eq "PGI") {
$flags =~ s/lib$/libso/;
}
$linker_L .= "-Wl,". $flags . " " ; $linker_L .= "-Wl,". $flags . " " ;
} }


if ($flags =~ /^\-rpath-link\@/) { if ($flags =~ /^\-rpath-link\@/) {
$flags =~ s/\@/\,/g; $flags =~ s/\@/\,/g;
if ($vendor eq "PGI") {
$flags =~ s/lib$/libso/;
}
$linker_L .= "-Wl,". $flags . " " ; $linker_L .= "-Wl,". $flags . " " ;
} }


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


Loading…
Cancel
Save