X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fliblustre%2Fgenlib.sh;fp=lustre%2Fliblustre%2Fgenlib.sh;h=2c644d56d09f660ef1b555526ece62cf12929f2a;hp=4cbef251729e7551526505f54535ad74beb0eb1d;hb=528e3dad852cf5520f87599776c0a67c42bec86a;hpb=86e10f698e20802a514ed4e8a8f130ee0ef10abd diff --git a/lustre/liblustre/genlib.sh b/lustre/liblustre/genlib.sh index 4cbef25..2c644d5 100755 --- a/lustre/liblustre/genlib.sh +++ b/lustre/liblustre/genlib.sh @@ -14,7 +14,7 @@ set -e AR=/usr/bin/ar # see http://osdir.com/ml/gmane.comp.gnu.binutils.bugs/2006-01/msg00016.php ppc64_CPU=`uname -p` -if [ ${ppc64_CPU} == "ppc64" ]; then +if [ "x${ppc64_CPU}" = "xppc64" ]; then LD="gcc -m64" else LD="gcc"