Module Name:    src
Committed By:   snj
Date:           Wed Feb  4 06:50:46 UTC 2015

Modified Files:
        src/sys/arch/atari/stand/installboot [netbsd-7]: Makefile

Log Message:
Pull up following revision(s) (requested by chs in ticket #482):
        sys/arch/atari/stand/installboot/Makefile: revision 1.7
Specify -fno-strict-aliasing as a temporary workaround for gcc48.
The existing abcksum() also violates strict-aliasing rule
(while current gcc48 doesn't warn it) and fixing all violations
strictly requires whole reorganization of boot sector structures.
But it won't happen soon and this MD installboot should be integrated
into MI installboot(8) in future, and it requires whole overhaul anyway.
See long discussion in source-changes-d@ for details.
Should be pulled up to netbsd-7 if we switches m68k to using gcc48.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.28.1 src/sys/arch/atari/stand/installboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/atari/stand/installboot/Makefile
diff -u src/sys/arch/atari/stand/installboot/Makefile:1.6 src/sys/arch/atari/stand/installboot/Makefile:1.6.28.1
--- src/sys/arch/atari/stand/installboot/Makefile:1.6	Tue Nov  1 13:19:53 2011
+++ src/sys/arch/atari/stand/installboot/Makefile	Wed Feb  4 06:50:46 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2011/11/01 13:19:53 chs Exp $
+#	$NetBSD: Makefile,v 1.6.28.1 2015/02/04 06:50:46 snj Exp $
 
 WARNS=	4
 PROG=	installboot
@@ -7,4 +7,7 @@ SRCS=	installboot.c disklabel.c
 BINDIR=	/usr/mdec
 LDADD=	-lkvm
 
+# XXX needs proper struct or union to calculate boot sector uint16_t cksums
+CFLAGS+=	-fno-strict-aliasing
+
 .include <bsd.prog.mk>

Reply via email to