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
 
 #
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to