diff options
author | grehan <grehan@FreeBSD.org> | 2003-12-10 09:10:54 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2003-12-10 09:10:54 +0000 |
commit | a9f09ccdea51828c2a87b402dd5d4ce759250d4f (patch) | |
tree | c9bf4c7a09df267358773115ddd23b24f1f57078 /sys/boot/ficl | |
parent | 47a0ac1bfeee924b8641f77eb8d8941465ae4ad5 (diff) | |
download | FreeBSD-src-a9f09ccdea51828c2a87b402dd5d4ce759250d4f.zip FreeBSD-src-a9f09ccdea51828c2a87b402dd5d4ce759250d4f.tar.gz |
Disable floating point on PowerPC for the ficl library.
Diffstat (limited to 'sys/boot/ficl')
-rw-r--r-- | sys/boot/ficl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 6f94b86..69d6ca7 100644 --- a/sys/boot/ficl/Makefile +++ b/sys/boot/ficl/Makefile @@ -17,6 +17,9 @@ CFLAGS+= -mno-fp-regs .if ${MACHINE_ARCH} == "i386" CFLAGS+= -mpreferred-stack-boundary=2 .endif +.if ${MACHINE_ARCH} == "powerpc" +CFLAGS+= -msoft-float +.endif .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 .endif |