From 687c376d267da5420fa8db9de48799d11c9b83ec Mon Sep 17 00:00:00 2001 From: gonzo Date: Tue, 29 Apr 2008 11:28:10 +0000 Subject: Define INLINE_LIMIT and additional CFLAGS for mips. Approved by: cognet (mentor) --- sys/conf/kern.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'sys/conf') diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index eede8c7..2b4b82c 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -85,6 +85,15 @@ INLINE_LIMIT?= 15000 .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. # -- cgit v1.1