summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/loader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/loader/Makefile')
-rw-r--r--sys/boot/i386/loader/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 33f23f0..0ad1276 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -13,6 +13,7 @@ LOADER_AOUT_SUPPORT= yes
# architecture-specific loader code
SRCS= main.c conf.c
+CFLAGS+= -ffreestanding
# Enable PXE TFTP or NFS support, not both.
.if defined(LOADER_TFTP_SUPPORT)
CFLAGS+= -DLOADER_TFTP_SUPPORT
OpenPOWER on IntegriCloud