Skip to content

Commit

Permalink
[POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c
Browse files Browse the repository at this point in the history
... since they deal with internal function with that name.

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
Al Viro authored and paulusmack committed Sep 26, 2006
1 parent 8306e51 commit 054e51a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/math-emu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 054e51a

Please sign in to comment.