Re: [PATCH] allow kernel compile with native ppc64 compiler

From: Andi Kleen
Date: Mon Oct 18 2004 - 11:25:07 EST


Paul Mackerras <paulus@xxxxxxxxx> writes:

> Olaf Hering writes:
>
>> The zImage is a 32bit binary, but a native powerpc64-linux gcc will
>> produce 64bit objects in arch/ppc64/boot.
>> This patch fixes it.
>
> ... and breaks the compile on older toolchains that don't understand
> -m32. We need to make the -m32 conditional on HAS_BIARCH as defined
> in arch/ppc64/Makefile.

Wouldn't it be more user friendly to use $(call check_gcc,-m32,) ?

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/