From: Ralf Baechle Date: Wed, 21 Dec 2005 02:02:26 +0000 (+0100) Subject: MIPS: Don't pass -finline-limit=100000. X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~51289^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d4ea001dd0912a14967266581601494d94a4c565;p=mirror_ubuntu-artful-kernel.git MIPS: Don't pass -finline-limit=100000. This was a stop gap meassure for gcc 3.3 and newer sometimes not inlining inline functions in the 2.4 days. Starting we pass the always_inline attribute, so -finline-limit is no longer necessary and it's been shown to problematic on Sparc. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/Makefile b/arch/mips/Makefile index e14ba5e01a36..2a9f2ef27b29 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -93,7 +93,6 @@ endif # cflags-y += -I $(TOPDIR)/include/asm/gcc cflags-y += -G 0 -mno-abicalls -fno-pic -pipe -cflags-y += $(call cc-option, -finline-limit=100000) LDFLAGS_vmlinux += -G 0 -static -n -nostdlib MODFLAGS += -mlong-calls