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 Now, cread.c can be buil...
details: https://anonhg.NetBSD.org/src/rev/71fbd5a8dfbf
branches: trunk
changeset: 365855:71fbd5a8dfbf
user: rin <rin%NetBSD.org@localhost>
date: Fri Apr 29 06:56:56 2022 +0000
description:
Now, cread.c can be built with -Os.
It was not a compiler bug actually; object code generated with
"-Os -Wa,-l" contains R_68K_16, which is not supported by elf2bb(1).
We should have fixed elf2bb(1), but the problem is gone at the moment.
diffstat:
sys/arch/amiga/stand/bootblock/boot/Makefile | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (19 lines):
diff -r 6a11633447a2 -r 71fbd5a8dfbf sys/arch/amiga/stand/bootblock/boot/Makefile
--- a/sys/arch/amiga/stand/bootblock/boot/Makefile Fri Apr 29 06:48:22 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/boot/Makefile Fri Apr 29 06:56:56 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2022/04/29 06:48:22 rin Exp $
+# $NetBSD: Makefile,v 1.61 2022/04/29 06:56:56 rin Exp $
.include <bsd.init.mk>
.include <bsd.sys.mk> # for HOST_SH
@@ -93,9 +93,6 @@
CFLAGS+= -Werror
CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
-# XXX work around a gcc 4.5 bug
-COPTS.cread.c = -O1
-
.c.o:
${_MKTARGET_COMPILE}
${CC} ${CFLAGS} ${COPTS.${.IMPSRC:T}} -S $< -o $*.s
Home |
Main Index |
Thread Index |
Old Index