Fixed generating shared library bug on MIPS.
This commit is contained in:
parent
758e34efbb
commit
1d72b8bf1b
8
f_check
8
f_check
|
@ -211,6 +211,10 @@ if (!$?) {
|
||||||
if ($?) {
|
if ($?) {
|
||||||
$link = `$compiler $openmp -q32 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
|
$link = `$compiler $openmp -q32 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
|
||||||
}
|
}
|
||||||
|
#For gfortran MIPS
|
||||||
|
if ($?) {
|
||||||
|
$link = `$compiler $openmp -mabi=n32 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
|
||||||
|
}
|
||||||
$binary = "" if ($?);
|
$binary = "" if ($?);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -219,6 +223,10 @@ if (!$?) {
|
||||||
if ($?) {
|
if ($?) {
|
||||||
$link = `$compiler $openmp -q64 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
|
$link = `$compiler $openmp -q64 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
|
||||||
}
|
}
|
||||||
|
#For gfortran MIPS
|
||||||
|
if ($?) {
|
||||||
|
$link = `$compiler $openmp -mabi=64 -v ftest2.f 2>&1 && rm -f a.out a.exe`;
|
||||||
|
}
|
||||||
$binary = "" if ($?);
|
$binary = "" if ($?);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue