Module Name: src
Committed By: mrg
Date: Mon Sep 7 22:22:17 UTC 2020
Modified Files:
src/sys/arch/bebox/stand/boot: Makefile
src/sys/arch/prep/stand/boot: Makefile
Log Message:
apply some GCC_NO_ADDR_OF_PACKED_MEMBER.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/bebox/stand/boot/Makefile
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/prep/stand/boot/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/bebox/stand/boot/Makefile
diff -u src/sys/arch/bebox/stand/boot/Makefile:1.35 src/sys/arch/bebox/stand/boot/Makefile:1.36
--- src/sys/arch/bebox/stand/boot/Makefile:1.35 Sat Apr 8 19:53:20 2017
+++ src/sys/arch/bebox/stand/boot/Makefile Mon Sep 7 22:22:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2017/04/08 19:53:20 christos Exp $
+# $NetBSD: Makefile,v 1.36 2020/09/07 22:22:17 mrg Exp $
NOMAN= # defined
@@ -69,5 +69,7 @@ ${PROG}: ${OBJS} ${LIBS}
.include "${S}/conf/newvers_stand.mk"
+CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+
.include <bsd.prog.mk>
.include <bsd.klinks.mk>
Index: src/sys/arch/prep/stand/boot/Makefile
diff -u src/sys/arch/prep/stand/boot/Makefile:1.31 src/sys/arch/prep/stand/boot/Makefile:1.32
--- src/sys/arch/prep/stand/boot/Makefile:1.31 Tue Sep 3 14:18:32 2019
+++ src/sys/arch/prep/stand/boot/Makefile Mon Sep 7 22:22:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2019/09/03 14:18:32 martin Exp $
+# $NetBSD: Makefile,v 1.32 2020/09/07 22:22:17 mrg Exp $
NOMAN= # defined
@@ -66,5 +66,7 @@ ${PROG}: ${OBJS} ${LIBS}
.include "${S}/conf/newvers_stand.mk"
+CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+
.include <bsd.prog.mk>
.include <bsd.klinks.mk>