Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a4ba061 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: Use -mno-check-zero-division



I don't think that in 15 years of Linux/MIPS the zero division checking
code generated by gcc by default has ever caught anything.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 05e41404
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)