diff options
author | nyan <nyan@FreeBSD.org> | 2002-02-28 10:08:23 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-02-28 10:08:23 +0000 |
commit | dce4f706b7cf4e58cbb2346a403c73eb98097f1f (patch) | |
tree | 70fc8af47e98b9f7b5e36cbc23764c649b401ce9 | |
parent | 26dc4f0f7a2eb66a893c30ed1a623945d88d7ce8 (diff) | |
download | FreeBSD-src-dce4f706b7cf4e58cbb2346a403c73eb98097f1f.zip FreeBSD-src-dce4f706b7cf4e58cbb2346a403c73eb98097f1f.tar.gz |
Add -D_KERNEL to CFLAGS for ntohl().
-rw-r--r-- | sys/boot/pc98/boot2/Makefile | 2 |
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}/../../.. |