[POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c
Al Viro [Sat, 23 Sep 2006 00:37:41 +0000 (01:37 +0100)]
... since they deal with internal function with that name.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>

arch/powerpc/math-emu/Makefile

index 754143e..29bc912 100644 (file)
@@ -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