From 90774cfa30f76d8bf06750b02437791824635002 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Sat, 23 Feb 2002 04:36:15 +0000 Subject: [PATCH] Add -ffreestanding to CFLAGS. --- sys/boot/ofw/libofw/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/boot/ofw/libofw/Makefile b/sys/boot/ofw/libofw/Makefile index 0cd0cf10f2f..7db8b8e36a0 100644 --- a/sys/boot/ofw/libofw/Makefile +++ b/sys/boot/ofw/libofw/Makefile @@ -15,6 +15,7 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ # Pick up the bootstrap header for some interface items CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. +CFLAGS+= -ffreestanding .if ${MACHINE_ARCH} == "powerpc" CFLAGS+= -msoft-float .endif