1 diff --git a/arch/mips/Makefile b/arch/mips/Makefile
2 index 7c1102e..70e029e 100644
3 --- a/arch/mips/Makefile
4 +++ b/arch/mips/Makefile
5 @@ -162,6 +162,8 @@ cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,)
6 cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,)
7 cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,)
9 +cflags-$(CONFIG_BRCMSTB) += -Wno-array-bounds -Wno-unused-but-set-variable
12 ifdef CONFIG_SB1_PASS_1_WORKAROUNDS
13 KBUILD_AFLAGS_MODULE += -msb1-pass1-workarounds