summaryrefslogtreecommitdiff
path: root/arch/x86/math-emu
diff options
context:
space:
mode:
authorSam Ravnborg <sam@neptun.(none)>2007-10-14 23:49:42 +0400
committerSam Ravnborg <sam@neptun.(none)>2007-10-14 23:49:42 +0400
commit9a39e273d4df0560c724c5fe71f6314a0583ca2b (patch)
tree84f9df34e3fad92cdabc386bc934f20459cf195b /arch/x86/math-emu
parente00498258c215b46bd24f12ab3a2ed1bcb4772fe (diff)
downloadlinux-9a39e273d4df0560c724c5fe71f6314a0583ca2b.tar.xz
kbuild: fix up CFLAGS usage
Only in very rare cases is it needed to change CFLAGS outside of arch/*/Makefile. Fix up all wrong cases - in most cases the use of EXTRA_CFLAGS is the only thing needed. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/x86/math-emu')
-rw-r--r--arch/x86/math-emu/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/math-emu/Makefile b/arch/x86/math-emu/Makefile
index 9c943fa6ce6b..9b0c63b60302 100644
--- a/arch/x86/math-emu/Makefile
+++ b/arch/x86/math-emu/Makefile
@@ -5,8 +5,7 @@
#DEBUG = -DDEBUGGING
DEBUG =
PARANOID = -DPARANOID
-CFLAGS := $(CFLAGS) $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
-
+EXTRA_CFLAGS := $(PARANOID) $(DEBUG) -fno-builtin $(MATH_EMULATION)
EXTRA_AFLAGS := $(PARANOID)
# From 'C' language sources: