Module Name: src Committed By: riastradh Date: Mon Apr 20 02:04:44 UTC 2020
Modified Files: src/sys/arch/sparc/stand/ofwboot: Makefile Log Message: More -Wno-error=address-of-packed-member to placate clang. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/sparc/stand/ofwboot/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/sparc/stand/ofwboot/Makefile diff -u src/sys/arch/sparc/stand/ofwboot/Makefile:1.38 src/sys/arch/sparc/stand/ofwboot/Makefile:1.39 --- src/sys/arch/sparc/stand/ofwboot/Makefile:1.38 Sat Apr 8 19:53:23 2017 +++ src/sys/arch/sparc/stand/ofwboot/Makefile Mon Apr 20 02:04:44 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2017/04/08 19:53:23 christos Exp $ +# $NetBSD: Makefile,v 1.39 2020/04/20 02:04:44 riastradh Exp $ .include <bsd.init.mk> @@ -38,6 +38,11 @@ CPPFLAGS+= -DSUPPORT_DHCP #CPPFLAGS+= -DNETIF_DEBUG #CPPFLAGS+= -D_DEBUG +# 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 + LINKS+= ${BINDIR}/ofwboot ${BINDIR}/ofwboot.net NOMAN= # defined