diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 3d5626ee0a5c..26947ab85260 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -49,6 +49,7 @@ ifneq ($(SUBARCH),$(ARCH)) | |||
49 | endif | 49 | endif |
50 | 50 | ||
51 | cflags-y := -ffunction-sections | 51 | cflags-y := -ffunction-sections |
52 | cflags-y += $(call cc-option, -mno-check-zero-division) | ||
52 | 53 | ||
53 | ifdef CONFIG_32BIT | 54 | ifdef CONFIG_32BIT |
54 | ld-emul = $(32bit-emul) | 55 | ld-emul = $(32bit-emul) |