kbuild: enable 'make CFLAGS=...' to add additional options to CC
[pandora-kernel.git] / arch / alpha / Makefile
index 1b704ee..2f283b2 100644 (file)
@@ -84,7 +84,7 @@ endif
 # For TSUNAMI, we must have the assembler not emulate our instructions.
 # The same is true for IRONGATE, POLARIS, PYXIS.
 # BWX is most important, but we don't really want any emulation ever.
-CFLAGS += $(cflags-y) -Wa,-mev6
+KBUILD_CFLAGS += $(cflags-y) -Wa,-mev6
 
 head-y := arch/alpha/kernel/head.o