[PATCH] powerpc: Add configurable -Werror for arch/powerpc
Kumar Gala
galak at kernel.crashing.org
Mon Apr 6 22:55:35 EST 2009
On Apr 5, 2009, at 11:18 PM, Michael Ellerman wrote:
> diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/
> Makefile
> index 0c16ab9..dcb2148 100644
> --- a/arch/powerpc/math-emu/Makefile
> +++ b/arch/powerpc/math-emu/Makefile
> @@ -1,4 +1,8 @@
>
> +ifeq ($(CONFIG_PPC_WERROR),y)
> +EXTRA_CFLAGS += -Werror
> +endif
> +
> obj-$(CONFIG_MATH_EMULATION) += fabs.o fadd.o fadds.o fcmpo.o
> fcmpu.o \
> fctiw.o fctiwz.o fdiv.o fdivs.o \
> fmadd.o fmadds.o fmsub.o fmsubs.o \
We explicitly build math-emu with -w to not see the warnings from it.
- k
More information about the Linuxppc-dev
mailing list