From b91af74a2c29683c0a300707e96788ccc2823865 Mon Sep 17 00:00:00 2001 From: Peter Grehan Date: Wed, 10 Dec 2003 09:10:54 +0000 Subject: [PATCH] Disable floating point on PowerPC for the ficl library. --- sys/boot/ficl/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile index 6f94b86d4078..69d6ca7ddcbb 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