Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/efiboot Don't error out for set but unus...



details:   https://anonhg.NetBSD.org/src/rev/de74f4275562
branches:  trunk
changeset: 821416:de74f4275562
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Feb 04 16:14:04 2017 +0000

description:
Don't error out for set but unused variables for now.

diffstat:

 sys/arch/i386/stand/efiboot/Makefile.efiboot |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9f968855fb87 -r de74f4275562 sys/arch/i386/stand/efiboot/Makefile.efiboot
--- a/sys/arch/i386/stand/efiboot/Makefile.efiboot      Sat Feb 04 13:36:07 2017 +0000
+++ b/sys/arch/i386/stand/efiboot/Makefile.efiboot      Sat Feb 04 16:14:04 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.efiboot,v 1.3 2017/02/04 13:36:07 roy Exp $
+# $NetBSD: Makefile.efiboot,v 1.4 2017/02/04 16:14:04 christos Exp $
 
 S=             ${.CURDIR}/../../../../..
 
@@ -48,6 +48,7 @@
 
 COPTS+= -ffreestanding -fPIC -fshort-wchar -fno-strict-aliasing -fno-builtin
 COPTS+= -fno-stack-protector
+COPTS+= -Wno-error=unused-but-set-variable
 COPTS+= ${${ACTIVE_CC} == "gcc":? -falign-functions=16 :}
 CPPFLAGS+= -nostdinc -D_STANDALONE
 CPPFLAGS+= -DEFIBOOT



Home | Main Index | Thread Index | Old Index