Ensure GCC does not use FP registers in integer code.

I really don't like cluttering up the compiler invocation,
but this bigger hammer will fix reported problems for now.
This commit is contained in:
David E. O'Brien 2005-05-31 18:13:29 +00:00
parent 208ac62dc6
commit 2ba8e9a61b

View File

@ -12,6 +12,7 @@ CFLAGS+= -mno-fp-regs -Os
.endif
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
CFLAGS+= -mpreferred-stack-boundary=2
CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2
.endif
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -msoft-float