summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2012-03-11 06:11:31 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2012-03-11 06:11:31 +0000
commit47c022f2abd188b996d7687c7dafde6b12422f95 (patch)
treea37c48249d14eae9993ddc56f6c46adf515fe50f
parent7223938408e6272e75039a64ee5db815c1f554ad (diff)
Notes
-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 d2ed68de4237..a3d3bb2189a9 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
#