ar71xx: keep the RouterBOARD Power LED in On state
[oweals/openwrt.git] / target / linux / generic / patches-4.9 / 302-mips_no_branch_likely.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -90,7 +90,7 @@ all-$(CONFIG_SYS_SUPPORTS_ZBOOT)+= vmlin
4  # machines may also.  Since BFD is incredibly buggy with respect to
5  # crossformat linking we rely on the elf2ecoff tool for format conversion.
6  #
7 -cflags-y                       += -G 0 -mno-abicalls -fno-pic -pipe
8 +cflags-y                       += -G 0 -mno-abicalls -fno-pic -pipe -mno-branch-likely
9  cflags-y                       += -msoft-float
10  LDFLAGS_vmlinux                        += -G 0 -static -n -nostdlib
11  KBUILD_AFLAGS_MODULE           += -mlong-calls