mirror of https://gitee.com/openkylin/linux.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 <ralf@linux-mips.org>
This commit is contained in:
parent
d56efda451
commit
d4ea001dd0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue