summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-02-23 04:36:15 +0000
committerjake <jake@FreeBSD.org>2002-02-23 04:36:15 +0000
commit7994a37bd4e3589c8d2d82e0b8bad75dd93f99bf (patch)
tree44ec8700932bfcb08f82f51045dc9c8acc7abf77
parentce801add096c9c6bdd2746b1ebac657ab8c93351 (diff)
downloadFreeBSD-src-7994a37bd4e3589c8d2d82e0b8bad75dd93f99bf.zip
FreeBSD-src-7994a37bd4e3589c8d2d82e0b8bad75dd93f99bf.tar.gz
Add -ffreestanding to CFLAGS.
-rw-r--r--sys/boot/ofw/libofw/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/ofw/libofw/Makefile b/sys/boot/ofw/libofw/Makefile
index 0cd0cf1..7db8b8e 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
OpenPOWER on IntegriCloud