Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/stand/bootblock/boot build cread.c with -O1 t...
details: https://anonhg.NetBSD.org/src/rev/f98763658401
branches: trunk
changeset: 770112:f98763658401
user: chs <chs%NetBSD.org@localhost>
date: Tue Oct 04 04:04:15 2011 +0000
description:
build cread.c with -O1 to work around a gcc 4.5 bug.
diffstat:
sys/arch/amiga/stand/bootblock/boot/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 2d339e8bd40e -r f98763658401 sys/arch/amiga/stand/bootblock/boot/Makefile
--- a/sys/arch/amiga/stand/bootblock/boot/Makefile Mon Oct 03 23:53:04 2011 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/Makefile Tue Oct 04 04:04:15 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2011/07/12 03:09:03 mrg Exp $
+# $NetBSD: Makefile,v 1.47 2011/10/04 04:04:15 chs Exp $
.include <bsd.own.mk>
.include <bsd.sys.mk> # for HOST_SH
@@ -88,8 +88,11 @@
CFLAGS+= -Werror
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
+# XXX work around a gcc 4.5 bug
+COPTS.cread.c = -O1
+
.c.o:
- ${CC} ${CFLAGS} -S $< -o $*.s
+ ${CC} ${CFLAGS} ${COPTS.${.IMPSRC:T}} -S $< -o $*.s
${TXLT} < $*.s | ${AS} ${AFLAGS} -o $@
rm $*.s
Home |
Main Index |
Thread Index |
Old Index