summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98/boot2
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2002-02-28 10:08:23 +0000
committernyan <nyan@FreeBSD.org>2002-02-28 10:08:23 +0000
commitdce4f706b7cf4e58cbb2346a403c73eb98097f1f (patch)
tree70fc8af47e98b9f7b5e36cbc23764c649b401ce9 /sys/boot/pc98/boot2
parent26dc4f0f7a2eb66a893c30ed1a623945d88d7ce8 (diff)
downloadFreeBSD-src-dce4f706b7cf4e58cbb2346a403c73eb98097f1f.zip
FreeBSD-src-dce4f706b7cf4e58cbb2346a403c73eb98097f1f.tar.gz
Add -D_KERNEL to CFLAGS for ntohl().
Diffstat (limited to 'sys/boot/pc98/boot2')
-rw-r--r--sys/boot/pc98/boot2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/boot2/Makefile b/sys/boot/pc98/boot2/Makefile
index 89f0833..d4bdde4 100644
--- a/sys/boot/pc98/boot2/Makefile
+++ b/sys/boot/pc98/boot2/Makefile
@@ -11,7 +11,7 @@ BINMODE= 444
CFLAGS= -elf -Os -fno-builtin -fforce-addr -fdata-sections \
-malign-functions=0 -malign-jumps=0 -malign-loops=0 \
-mpreferred-stack-boundary=2 -mrtd \
- -DPC98 -DBOOTWAIT=${BOOTWAIT} -DTIMEOUT=${TIMEOUT}
+ -D_KERNEL -DPC98 -DBOOTWAIT=${BOOTWAIT} -DTIMEOUT=${TIMEOUT}
CFLAGS+= -DBOOTSEG=${BOOTSEG} -DBOOTSTACK=${BOOTSTACK}
CFLAGS+= ${CWARNFLAGS}
CFLAGS+= -I${.CURDIR}/../../..
OpenPOWER on IntegriCloud