add -m64 to EXTRA_KCFLAGS as well, to work around bugs in the linux
ppc64 makefiles
CFLAGS="-m64 $CFLAGS"
AC_TRY_COMPILE([],[],[
AC_MSG_RESULT([yes])
+ EXTRA_KCFLAGS="-m64 $EXTRA_KCFLAGS"
],[
AC_MSG_RESULT([no])
CFLAGS="$CFLAGS_save"
AC_SUBST(LLCFLAGS)
# everyone builds against portals and lustre
-EXTRA_KCFLAGS="-g -I$PWD/portals/include -I$PWD/lustre/include"
+EXTRA_KCFLAGS="$EXTRA_KCFLAGS -g -I$PWD/portals/include -I$PWD/lustre/include"
AC_SUBST(EXTRA_KCFLAGS)
])