From 8bd1c57ee7ce29a7f3647cdc3e0c0d52ce1e223f Mon Sep 17 00:00:00 2001 From: jmallett Date: Sun, 11 Mar 2012 06:11:31 +0000 Subject: Disable -Winline on MIPS in preparation for the import of the latest version of the Cavium Simple Executive, which violates large function growth rules in such a way that simply increasing the large function growth parameter is insufficient. --- sys/conf/kern.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/conf/kern.mk') diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index d2ed68d..a3d3bb2 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -131,6 +131,9 @@ CFLAGS+= -mcall-aixdesc .if ${MACHINE_CPUARCH} == "mips" CFLAGS+= -msoft-float INLINE_LIMIT?= 8000 +# XXX Disable -Winline. This is needed because of the monstrous code that is +# the Cavium Octeon Simple Executive. +CWARNFLAGS:= ${CWARNFLAGS:N-Winline} .endif # -- cgit v1.1