summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authormhitch <mhitch@NetBSD.org>2003-02-03 07:17:13 +0000
committermhitch <mhitch@NetBSD.org>2003-02-03 07:17:13 +0000
commit4897781d3cec8a2b08ef50224a2882270b9a2dbf (patch)
tree84cea08021f26569ba7ed895caf935753c0981c7 /sys
parentff7f90827cc497a7025561ee3bac4936d796986d (diff)
Use 32 bit daddr_t due to space limitations when using 64 bit div/mod.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile b/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
index 04c24a704cc..6eb9fefd5c2 100644
--- a/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
+++ b/sys/arch/amiga/stand/bootblock/bootxx_ffs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/05/31 20:57:42 thorpej Exp $
+# $NetBSD: Makefile,v 1.5 2003/02/03 07:17:13 mhitch Exp $
### what we need:
@@ -54,6 +54,9 @@ CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
NETBSD_VERS!= sh ${.CURDIR}/../../../../../conf/osrelease.sh
DEFS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
+# Use small daddr_t to avoid code bloat
+DEFS+= -D__daddr_t=int32_t
+
.c.o:
${CC} ${CFLAGS} -S $< -o $*.s
${TXLT} < $*.s | ${AS} ${AFLAGS} -o $*.o