From: Al Viro Date: Sat, 23 Sep 2006 00:37:41 +0000 (+0100) Subject: [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c X-Git-Tag: v2.6.19-rc1~219^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=054e51a44bc63878430c30b137be20600bcf01e0;p=linux-2.6 [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c ... since they deal with internal function with that name. Signed-off-by: Al Viro Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile index 754143e893..29bc912624 100644 --- a/arch/powerpc/math-emu/Makefile +++ b/arch/powerpc/math-emu/Makefile @@ -11,3 +11,6 @@ obj-$(CONFIG_MATH_EMULATION) += fabs.o fadd.o fadds.o fcmpo.o fcmpu.o \ mcrfs.o mffs.o mtfsb0.o mtfsb1.o \ mtfsf.o mtfsfi.o stfiwx.o stfs.o \ udivmodti4.o + +CFLAGS_fabs.o = -fno-builtin-fabs +CFLAGS_math.o = -fno-builtin-fabs