Source-Changes-HG archive

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

[src/trunk]: src/sys/arch apply some GCC_NO_ADDR_OF_PACKED_MEMBER.



details:   https://anonhg.NetBSD.org/src/rev/244e696b7bd1
branches:  trunk
changeset: 938426:244e696b7bd1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 07 22:22:17 2020 +0000

description:
apply some GCC_NO_ADDR_OF_PACKED_MEMBER.

diffstat:

 sys/arch/bebox/stand/boot/Makefile |  4 +++-
 sys/arch/prep/stand/boot/Makefile  |  4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 909574d51825 -r 244e696b7bd1 sys/arch/bebox/stand/boot/Makefile
--- a/sys/arch/bebox/stand/boot/Makefile        Mon Sep 07 22:21:55 2020 +0000
+++ b/sys/arch/bebox/stand/boot/Makefile        Mon Sep 07 22:22:17 2020 +0000
@@ -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 @@
 
 .include "${S}/conf/newvers_stand.mk"
 
+CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+
 .include <bsd.prog.mk>
 .include <bsd.klinks.mk>
diff -r 909574d51825 -r 244e696b7bd1 sys/arch/prep/stand/boot/Makefile
--- a/sys/arch/prep/stand/boot/Makefile Mon Sep 07 22:21:55 2020 +0000
+++ b/sys/arch/prep/stand/boot/Makefile Mon Sep 07 22:22:17 2020 +0000
@@ -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 @@
 
 .include "${S}/conf/newvers_stand.mk"
 
+CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}
+
 .include <bsd.prog.mk>
 .include <bsd.klinks.mk>



Home | Main Index | Thread Index | Old Index