summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-11 06:11:31 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-11 06:11:31 +0000
commit8bd1c57ee7ce29a7f3647cdc3e0c0d52ce1e223f (patch)
treea37c48249d14eae9993ddc56f6c46adf515fe50f /sys/conf/kern.mk
parentfc612b6d8b143250d4a1b685423a4fe82c176d07 (diff)
downloadFreeBSD-src-8bd1c57ee7ce29a7f3647cdc3e0c0d52ce1e223f.zip
FreeBSD-src-8bd1c57ee7ce29a7f3647cdc3e0c0d52ce1e223f.tar.gz
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.
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk3
1 files changed, 3 insertions, 0 deletions
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
#
OpenPOWER on IntegriCloud