svn commit: r232811 - head/sys/conf

Juli Mallett jmallett at FreeBSD.org
Sun Mar 11 06:11:31 UTC 2012


Author: jmallett
Date: Sun Mar 11 06:11:31 2012
New Revision: 232811
URL: http://svn.freebsd.org/changeset/base/232811

Log:
  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.

Modified:
  head/sys/conf/kern.mk

Modified: head/sys/conf/kern.mk
==============================================================================
--- head/sys/conf/kern.mk	Sun Mar 11 04:16:42 2012	(r232810)
+++ head/sys/conf/kern.mk	Sun Mar 11 06:11:31 2012	(r232811)
@@ -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
 
 #


More information about the svn-src-head mailing list