aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/math-emu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/math-emu/Makefile')
-rw-r--r--arch/sparc/math-emu/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/math-emu/Makefile b/arch/sparc/math-emu/Makefile
index 8136987977f4..b9085ecbb27b 100644
--- a/arch/sparc/math-emu/Makefile
+++ b/arch/sparc/math-emu/Makefile
@@ -2,7 +2,7 @@
# Makefile for the FPU instruction emulation.
#
-obj-y := math.o
+# supress all warnings - as math.c produces a lot!
+ccflags-y := -w
-EXTRA_AFLAGS := -ansi
-EXTRA_CFLAGS = -I. -Iinclude/math-emu -w
+obj-y := math_$(BITS).o