Skip to contentSkip to conversation

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

PATCH New Al Viro 1 participant 1 message Sep 23, 2006 PowerPC

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c

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

---
 arch/powerpc/math-emu/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/powerpc/math-emu/Makefile +3 -0
index 754143e..29bc912 100644
@@ -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
Signature · 1 line
1.4.2.GIT