Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/stand/efiboot efiboot: add clang fix from i386/stand/efi...
details: https://anonhg.NetBSD.org/src/rev/f8223eea690d
branches: trunk
changeset: 1008721:f8223eea690d
user: tnn <tnn%NetBSD.org@localhost>
date: Wed Apr 01 10:45:44 2020 +0000
description:
efiboot: add clang fix from i386/stand/efiboot/bootx64/Makefile here too
diffstat:
sys/stand/efiboot/Makefile.efiboot | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 7614db2f8821 -r f8223eea690d sys/stand/efiboot/Makefile.efiboot
--- a/sys/stand/efiboot/Makefile.efiboot Wed Apr 01 08:21:38 2020 +0000
+++ b/sys/stand/efiboot/Makefile.efiboot Wed Apr 01 10:45:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.10 2020/01/25 11:24:20 jmcneill Exp $
+# $NetBSD: Makefile.efiboot,v 1.11 2020/04/01 10:45:44 tnn Exp $
S= ${.CURDIR}/../../..
@@ -87,6 +87,11 @@
#CPPFLAGS+= -DRARP_DEBUG
#CPPFLAGS+= -DRPC_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
+
SAMISCCPPFLAGS+= -DLIBSA_PRINTF_LONGLONG_SUPPORT
SAMISCCPPFLAGS+= -DLIBSA_PRINTF_WIDTH_SUPPORT
SAMISCCPPFLAGS+= -D"cdb2devb(bno)=(bno)"
Home |
Main Index |
Thread Index |
Old Index