From c623227cc99f00727b4021f544421a8478432edc Mon Sep 17 00:00:00 2001 From: yangsheng Date: Sat, 20 Sep 2008 11:39:36 +0000 Subject: [PATCH] Branch b1_8_gate b=16689 i=brian, yibin.wang Make change for sles9/ppc64 build. --- build/lmake | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build/lmake b/build/lmake index e7af417..161c96f 100755 --- a/build/lmake +++ b/build/lmake @@ -344,9 +344,13 @@ patch_kernel() set_make() { MAKE="make -s" - if [ "$CC" ] ; then - MAKE_CC="CC=$CC" - fi + [ "$CC" ] && { + if [ "$TARGET_ARCH" == "ppc64" ] ; then + MAKE_CC="CC=$CC -m64" + else + MAKE_CC="CC=$CC" + fi + } if [ "$ARCH" ] ; then MAKE_ARCH="$MAKE ARCH=$ARCH" else -- 1.8.3.1