diff options
author | jake <jake@FreeBSD.org> | 2003-02-28 06:49:59 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-02-28 06:49:59 +0000 |
commit | 1bd61761b96f10168a4e7ac47c783ad25eeaebe3 (patch) | |
tree | 42468c90b3bd29a3da2337d7abaabc3800838427 /sys/conf | |
parent | 5058936161ec6f5a740e5e93b1c014c2a506408d (diff) | |
download | FreeBSD-src-1bd61761b96f10168a4e7ac47c783ad25eeaebe3.zip FreeBSD-src-1bd61761b96f10168a4e7ac47c783ad25eeaebe3.tar.gz |
Sync with bsd.kern.mk.
Reminded by: bde
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 214ef1a..602fab4 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -44,6 +44,15 @@ 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. # |