diff options
author | gonzo <gonzo@FreeBSD.org> | 2008-04-29 11:28:10 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2008-04-29 11:28:10 +0000 |
commit | 687c376d267da5420fa8db9de48799d11c9b83ec (patch) | |
tree | 14f79fd4cc4c6c4825fefcd9112e3226f67fd7d6 /sys/conf | |
parent | c5b3e453b8bb424a849e07c8c013512c6f6e76a4 (diff) | |
download | FreeBSD-src-687c376d267da5420fa8db9de48799d11c9b83ec.zip FreeBSD-src-687c376d267da5420fa8db9de48799d11c9b83ec.tar.gz |
Define INLINE_LIMIT and additional CFLAGS for mips.
Approved by: cognet (mentor)
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/kern.mk | 9 |
1 files changed, 9 insertions, 0 deletions
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. # |