[PATCH] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c

Al Viro viro at ftp.linux.org.uk
Sat Sep 23 10:37:41 EST 2006


... since they deal with internal function with that name.

Signed-off-by: Al Viro <viro at zeniv.linux.org.uk>
---
 arch/powerpc/math-emu/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile
index 754143e..29bc912 100644
--- a/arch/powerpc/math-emu/Makefile
+++ b/arch/powerpc/math-emu/Makefile
@@ -11,3 +11,6 @@ obj-$(CONFIG_MATH_EMULATION)	+= fabs.o f
 					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
-- 
1.4.2.GIT





More information about the Linuxppc-dev mailing list