kbuild: enable 'make CFLAGS=...' to add additional options to CC
[pandora-kernel.git] / arch / alpha / kernel / Makefile
index ab6fa54..dccf052 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 extra-y                := head.o vmlinux.lds
-EXTRA_AFLAGS   := $(CFLAGS)
+EXTRA_AFLAGS   := $(KBUILD_CFLAGS)
 EXTRA_CFLAGS   := -Werror -Wno-sign-compare
 
 obj-y    := entry.o traps.o process.o init_task.o osf_sys.o irq.o \