Define INLINE_LIMIT and additional CFLAGS for mips.

Approved by:	cognet (mentor)
This commit is contained in:
gonzo 2008-04-29 11:28:10 +00:00
parent c5b3e453b8
commit 687c376d26

View File

@ -84,6 +84,15 @@ CFLAGS+= -msoft-float
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.