Sync with bsd.kern.mk.

Reminded by:	bde
This commit is contained in:
jake 2003-02-28 06:49:59 +00:00
parent 5058936161
commit 1bd61761b9

View File

@ -43,6 +43,15 @@ CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev6
CFLAGS+= -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata
.endif
#
# For sparc64 we want medlow code model, and we tell gcc to use floating
# point emulation. This avoids using floating point registers for integer
# operations which it has a tendency to do.
#
.if ${MACHINE_ARCH} == "sparc64"
CFLAGS+= -mcmodel=medlow -msoft-float
.endif
#
# GCC 3.0 and above like to do certain optimizations based on the
# assumption that the program is linked against libc. Stop this.