Use -Os to shrink bootblock code a little more. Now bootxx_fd builds with
gcc 3.3.2.
This commit is contained in:
parent
a2cc19e091
commit
b83111d3cb
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.32 2003/08/24 15:11:18 he Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2003/10/25 03:14:33 mhitch Exp $
|
||||
|
||||
### what we need:
|
||||
|
||||
|
@ -57,7 +57,7 @@ INCPATH += -I${.CURDIR}/../aout2bb -I${DESTDIR}/usr/include
|
|||
AFLAGS += -m68030 -l
|
||||
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH}
|
||||
|
||||
COPTIM= -O -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
|
||||
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
|
||||
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
|
||||
|
||||
.c.o:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2003/08/24 15:11:19 he Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2003/10/25 03:14:33 mhitch Exp $
|
||||
|
||||
### what we need:
|
||||
|
||||
|
@ -48,7 +48,7 @@ INCPATH += -I${.CURDIR}/../aout2bb -I$(.CURDIR) -I${DESTDIR}/usr/include
|
|||
AFLAGS += -m68030 -l
|
||||
CAFLAGS += -Wa,-l -Wa,-m68030 ${INCPATH} -D_PRIMARY_BOOT
|
||||
|
||||
COPTIM= -O -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
|
||||
COPTIM= -Os -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks -Wa,-l -m68060 -Wa,-m68030
|
||||
CFLAGS= -ffreestanding ${COPTIM} ${INCPATH} ${DEFS} -Wall #-Wstrict-prototypes
|
||||
|
||||
NETBSD_VERS!= sh ${.CURDIR}/../../../../../conf/osrelease.sh
|
||||
|
|
Loading…
Reference in New Issue