diff options
author | jmallett <jmallett@FreeBSD.org> | 2012-03-11 06:11:31 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2012-03-11 06:11:31 +0000 |
commit | 8bd1c57ee7ce29a7f3647cdc3e0c0d52ce1e223f (patch) | |
tree | a37c48249d14eae9993ddc56f6c46adf515fe50f /sys/conf/kern.mk | |
parent | fc612b6d8b143250d4a1b685423a4fe82c176d07 (diff) | |
download | FreeBSD-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.mk | 3 |
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 # |