Index: sys/conf/kern.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.mk,v retrieving revision 1.52 diff -u -r1.52 kern.mk --- sys/conf/kern.mk 24 May 2007 21:53:42 -0000 1.52 +++ sys/conf/kern.mk 29 Apr 2008 10:34:10 -0000 @@ -85,6 +85,15 @@ .endif # +# For MIPS we also tell gcc to use floating point emulation and +# disable MIPS DSP ASE Instruction set. +# +.if ${MACHINE_ARCH} == "mips" +CFLAGS+= -msoft-float -mno-dsp +INLINE_LIMIT?= 15000 +.endif + +# # GCC 3.0 and above like to do certain optimizations based on the # assumption that the program is linked against libc. Stop this. #