Module Name: src Committed By: joerg Date: Tue Apr 21 21:39:07 UTC 2020
Modified Files: src/sys/arch/macppc/stand: Makefile.inc src/sys/arch/zaurus/stand: Makefile.inc Log Message: Use -Wno-error=address-of-packed-member for a number of more boot loaders. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/arch/macppc/stand/Makefile.inc cvs rdiff -u -r1.5 -r1.6 src/sys/arch/zaurus/stand/Makefile.inc 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/macppc/stand/Makefile.inc diff -u src/sys/arch/macppc/stand/Makefile.inc:1.4 src/sys/arch/macppc/stand/Makefile.inc:1.5 --- src/sys/arch/macppc/stand/Makefile.inc:1.4 Thu Apr 20 19:09:29 2017 +++ src/sys/arch/macppc/stand/Makefile.inc Tue Apr 21 21:39:07 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.4 2017/04/20 19:09:29 uwe Exp $ +# $NetBSD: Makefile.inc,v 1.5 2020/04/21 21:39:07 joerg Exp $ BINDIR= /usr/mdec @@ -6,3 +6,10 @@ CFLAGS_UNWIND.gcc= -fno-unwind-tables -f CFLAGS_UNWIND.clang= -fno-unwind-tables LINKFLAGS_UNWIND= --no-ld-generated-unwind-info + +# Follow the suit of Makefile.kern.inc; needed for the lfs64 union +# accessors -- they don't actually dereference the resulting pointer, +# just use it for type-checking. +CWARNFLAGS.clang+= -Wno-error=address-of-packed-member + +COPTS+= -fcommon Index: src/sys/arch/zaurus/stand/Makefile.inc diff -u src/sys/arch/zaurus/stand/Makefile.inc:1.5 src/sys/arch/zaurus/stand/Makefile.inc:1.6 --- src/sys/arch/zaurus/stand/Makefile.inc:1.5 Sat Jan 23 22:28:09 2016 +++ src/sys/arch/zaurus/stand/Makefile.inc Tue Apr 21 21:39:07 2020 @@ -1,4 +1,11 @@ -# $NetBSD: Makefile.inc,v 1.5 2016/01/23 22:28:09 christos Exp $ +# $NetBSD: Makefile.inc,v 1.6 2020/04/21 21:39:07 joerg Exp $ BINDIR= /usr/mdec KLINK_MACHINE= zaurus + +# Follow the suit of Makefile.kern.inc; needed for the lfs64 union +# accessors -- they don't actually dereference the resulting pointer, +# just use it for type-checking. +CWARNFLAGS.clang+= -Wno-error=address-of-packed-member + +COPTS+= -fcommon