diff options
author | obrien <obrien@FreeBSD.org> | 2003-12-07 09:56:30 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-12-07 09:56:30 +0000 |
commit | e48e0e186a7b5f0a1bfa2d7d318bf1918b53ce59 (patch) | |
tree | bb3e5d95725b2ed7b378650dbfbf15580aa37707 | |
parent | 5f6ddde944ea19792d5308ce2115be9063c11b49 (diff) | |
download | FreeBSD-src-e48e0e186a7b5f0a1bfa2d7d318bf1918b53ce59.zip FreeBSD-src-e48e0e186a7b5f0a1bfa2d7d318bf1918b53ce59.tar.gz |
Add PowerPC CFLAGS.
Submitted by: gallatin
-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 21a28f8..da83953 100644 --- a/sys/conf/kern.mk +++ b/sys/conf/kern.mk @@ -68,6 +68,15 @@ INLINE_LIMIT?= 20000 .endif # +# For PowerPC 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} == "powerpc" +CFLAGS+= -msoft-float +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. # |