summaryrefslogtreecommitdiff
path: root/arch/mips/lemote/lm2e/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/lemote/lm2e/Makefile')
-rw-r--r--arch/mips/lemote/lm2e/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/lemote/lm2e/Makefile b/arch/mips/lemote/lm2e/Makefile
index fb1b48c48cb..dcaf6f4c3a3 100644
--- a/arch/mips/lemote/lm2e/Makefile
+++ b/arch/mips/lemote/lm2e/Makefile
@@ -3,5 +3,6 @@
#
obj-y += setup.o prom.o reset.o irq.o pci.o bonito-irq.o dbg_io.o mem.o
-EXTRA_AFLAGS := $(CFLAGS)
+EXTRA_AFLAGS := $(CFLAGS)
+EXTRA_CFLAGS += -Werror