Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src XXX: build mdsetimage.c / installboot/ffs.c with -O0 on sun2...



details:   https://anonhg.NetBSD.org/src/rev/16535af8215d
branches:  trunk
changeset: 554441:16535af8215d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Oct 28 08:21:26 2003 +0000

description:
XXX: build mdsetimage.c / installboot/ffs.c with -O0 on sun2 as GCC3
barfs on these for now.

diffstat:

 gnu/usr.sbin/mdsetimage/Makefile |  7 ++++++-
 usr.sbin/installboot/Makefile    |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 38a87ced1154 -r 16535af8215d gnu/usr.sbin/mdsetimage/Makefile
--- a/gnu/usr.sbin/mdsetimage/Makefile  Tue Oct 28 08:13:39 2003 +0000
+++ b/gnu/usr.sbin/mdsetimage/Makefile  Tue Oct 28 08:21:26 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2003/05/18 07:57:32 lukem Exp $
+#      $NetBSD: Makefile,v 1.15 2003/10/28 08:21:26 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -13,6 +13,11 @@
 
 CPPFLAGS+=     -I${BFDDIR} -I${DIST}/bfd -I${DIST}/binutils -I${DIST}/include
 
+# XXX GCC3/m68010 fails to compile mdsetimage.c
+.if ${MACHINE_ARCH} == "m68000"
+COPTS.mdsetimage.c=    -O0
+.endif
+
 .if !defined(HOSTPROG) && ${MKPICLIB} != "no"
 DPADD+=                ${BFDDIR}/libbfd_pic.a
 .else
diff -r 38a87ced1154 -r 16535af8215d usr.sbin/installboot/Makefile
--- a/usr.sbin/installboot/Makefile     Tue Oct 28 08:13:39 2003 +0000
+++ b/usr.sbin/installboot/Makefile     Tue Oct 28 08:21:26 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.25 2003/10/27 16:51:05 cl Exp $
+#      $NetBSD: Makefile,v 1.26 2003/10/28 08:21:26 mrg Exp $
 #
 
 .include <bsd.own.mk>
@@ -16,4 +16,9 @@
 CPPFLAGS+=     -I${.CURDIR} -I.
 .PATH:         ${.CURDIR}/arch ${UFSSRC}/ffs
 
+# XXX
+.if ${MACHINE_ARCH} == "m68000"
+COPTS.ffs.c=   -O0
+.endif
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index