From 322d37ad3c09579477fa1d6790d5fe091311215c Mon Sep 17 00:00:00 2001 From: jacob Date: Wed, 5 Jan 2005 23:10:13 +0000 Subject: [PATCH] b=5278 add -m64 to EXTRA_KCFLAGS as well, to work around bugs in the linux ppc64 makefiles --- build/autoconf/lustre-build.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4 index f4f0038..1851e95 100644 --- a/build/autoconf/lustre-build.m4 +++ b/build/autoconf/lustre-build.m4 @@ -323,6 +323,7 @@ CFLAGS_save="$CFLAGS" CFLAGS="-m64 $CFLAGS" AC_TRY_COMPILE([],[],[ AC_MSG_RESULT([yes]) + EXTRA_KCFLAGS="-m64 $EXTRA_KCFLAGS" ],[ AC_MSG_RESULT([no]) CFLAGS="$CFLAGS_save" @@ -337,7 +338,7 @@ LLCFLAGS="-g -Wall -fPIC" 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) ]) -- 1.8.3.1