summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro2006-09-23 02:37:41 +0200
committerPaul Mackerras2006-09-26 07:24:35 +0200
commit054e51a44bc63878430c30b137be20600bcf01e0 (patch)
tree38927e9f5d3f43f32a535ef7d85a7b25eaca9908 /arch
parent[POWERPC] update mpc8349_itx_defconfig and remove some debug settings (diff)
downloadkernel-qcow2-linux-054e51a44bc63878430c30b137be20600bcf01e0.tar.gz
kernel-qcow2-linux-054e51a44bc63878430c30b137be20600bcf01e0.tar.xz
kernel-qcow2-linux-054e51a44bc63878430c30b137be20600bcf01e0.zip
[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 <viro@zeniv.linux.org.uk> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/math-emu/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile
index 754143e8936b..29bc9126241b 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