summaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-03-19 10:51:57 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-03-19 10:51:57 +0000
commit1d7914a5bd548b15bbbda0e40f15c2572e7a020c (patch)
tree69c3d00054b8a17c94e938f35fe36935f5469604 /sys/boot
parent436122c232977b98699bcb59b1fb3e3dd19129e6 (diff)
Notes
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 d37a508c4219..d36cdb793260 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 30bb7e5ce654..7b20910f916b 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 1ba911d1ba51..71447baad777 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 1ba911d1ba51..71447baad777 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