Skip to content
Snippets Groups Projects
Commit 06445876 authored by Yang Sheng's avatar Yang Sheng
Browse files

Branch b1_8_gate

b=16437
i=cliff.white, brian

Enable the '-m64' flag for powerpc64 patchless build.
parent b5b195ca
No related branches found
No related tags found
No related merge requests found
......@@ -593,6 +593,12 @@ if test $ac_cv_sizeof_unsigned_long_long != 8 ; then
AC_MSG_ERROR([** we assume that sizeof(long long) == 8. Tell phil@clusterfs.com])
fi
if test $target_cpu == "powerpc64"; then
AC_MSG_WARN([set compiler with -m64])
CFLAGS="$CFLAGS -m64"
CC="$CC -m64"
fi
CPPFLAGS="-I\$(top_builddir)/$LIBCFS_INCLUDE_DIR -I\$(top_srcdir)/$LIBCFS_INCLUDE_DIR-I\$(top_builddir)/lnet/include -I\$(top_srcdir)/lnet/include -I\$(top_builddir)/lustre/include -I\$(top_srcdir)/lustre/include $CPPFLAGS"
LLCPPFLAGS="-D__arch_lib__ -D_LARGEFILE64_SOURCE=1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment