diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 3d5626ee0a5c91d0adb3a2d2b0ef22c6ee3c2b6f..26947ab852609857e14f55e93103ec1d5811f62e 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -49,6 +49,7 @@ ifneq ($(SUBARCH),$(ARCH)) endif cflags-y := -ffunction-sections +cflags-y += $(call cc-option, -mno-check-zero-division) ifdef CONFIG_32BIT ld-emul = $(32bit-emul)