aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BLAS.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/BLAS.sh b/BLAS.sh
index b3fb626..5ac46ea 100644
--- a/BLAS.sh
+++ b/BLAS.sh
@@ -89,7 +89,7 @@ if [ -z "${BLAS_DIR}" ]; then
pushd build-${NAME}/${TARNAME}/BLAS/SRC
echo "BLAS: Building..."
- if [ $(basename "$F77") = 'xlf90_r' -o $(basename "$F77") = 'xlf90' ]; then
+ if echo ${F77} | grep -i xlf > /dev/null 2>&1; then
FIXEDF77FLAGS=-qfixed
fi
${F77} ${F77FLAGS} ${FIXEDF77FLAGS} -c *.f