summaryrefslogtreecommitdiff
path: root/arch/cris/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/Makefile')
-rw-r--r--arch/cris/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/Makefile b/arch/cris/Makefile
index 32ef6f3cce06..e6bf00c262e0 100644
--- a/arch/cris/Makefile
+++ b/arch/cris/Makefile
@@ -29,7 +29,7 @@ LD = $(CROSS_COMPILE)ld -mcrislinux
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
-AFLAGS += -mlinux
+KBUILD_AFLAGS += -mlinux
KBUILD_CFLAGS += -mlinux -march=$(arch-y) -pipe