Whamcloud - gitweb
b=15870
[fs/lustre-release.git] / build / autoconf / lustre-build-linux.m4
index 193c6c7..e47efd8 100644 (file)
@@ -445,6 +445,11 @@ fi
 #
 AC_DEFUN([LB_PROG_LINUX],
 [LB_LINUX_PATH
+LB_LINUX_ARCH
+
+if test $LINUX_ARCH == "powerpc64"; then
+       CFLAGS="$CFLAGS -m64"
+fi
 
 LB_LINUX_CONFIG([MODULES],[],[
        AC_MSG_ERROR([module support is required to build Lustre kernel modules.])