summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-19 10:51:57 +0000
committerpeter <peter@FreeBSD.org>2002-03-19 10:51:57 +0000
commitd508cde2ba6413b8d1160ee49830a47889f31c32 (patch)
tree69c3d00054b8a17c94e938f35fe36935f5469604 /sys/boot
parent497bf7e88897236bcf8bf65604948fcb68be896b (diff)
downloadFreeBSD-src-d508cde2ba6413b8d1160ee49830a47889f31c32.zip
FreeBSD-src-d508cde2ba6413b8d1160ee49830a47889f31c32.tar.gz
Add -ffreestanding to avoid printf/puts/putchar conversions
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/efi/Makefile.inc1
-rw-r--r--sys/boot/ia64/libski/Makefile1
-rw-r--r--sys/boot/ia64/ski/Makefile1
-rw-r--r--sys/boot/ia64/skiload/Makefile1
4 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/efi/Makefile.inc b/sys/boot/efi/Makefile.inc
index d37a508..d36cdb7 100644
--- a/sys/boot/efi/Makefile.inc
+++ b/sys/boot/efi/Makefile.inc
@@ -6,3 +6,4 @@ DPADD+= ${DESTDIR}/${LIBDIR}/libstand.a
LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand
LIBSTAND= -lstand
LIBEFI= ${.OBJDIR}/../libefi/libefi.a
+CFLAGS+= -ffreestanding
diff --git a/sys/boot/ia64/libski/Makefile b/sys/boot/ia64/libski/Makefile
index 30bb7e5..7b20910 100644
--- a/sys/boot/ia64/libski/Makefile
+++ b/sys/boot/ia64/libski/Makefile
@@ -15,6 +15,7 @@ CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
CFLAGS+= -I${.CURDIR}/../../efi/include
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
+CFLAGS+= -ffreestanding
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
diff --git a/sys/boot/ia64/ski/Makefile b/sys/boot/ia64/ski/Makefile
index 1ba911d..71447ba 100644
--- a/sys/boot/ia64/ski/Makefile
+++ b/sys/boot/ia64/ski/Makefile
@@ -41,6 +41,7 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../../.. -I.
CFLAGS+= -I${.CURDIR}/../libski
CFLAGS+= -DLOADER
+CFLAGS+= -ffreestanding
LDFLAGS= -nostdlib -T ${.CURDIR}/ldscript.ia64
diff --git a/sys/boot/ia64/skiload/Makefile b/sys/boot/ia64/skiload/Makefile
index 1ba911d..71447ba 100644
--- a/sys/boot/ia64/skiload/Makefile
+++ b/sys/boot/ia64/skiload/Makefile
@@ -41,6 +41,7 @@ CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../../.. -I.
CFLAGS+= -I${.CURDIR}/../libski
CFLAGS+= -DLOADER
+CFLAGS+= -ffreestanding
LDFLAGS= -nostdlib -T ${.CURDIR}/ldscript.ia64
OpenPOWER on IntegriCloud