summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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