summaryrefslogtreecommitdiff
path: root/sbin/devd
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-05-23 10:03:09 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-05-23 10:03:09 +0000
commit695a3b29fffea5fc620b94b578365835154585e0 (patch)
tree88aeb810d0f82cb4432e86a25ca07120f6d6f063 /sbin/devd
parentc739854c3882e62eef5d5dcc18a2907d1277ded2 (diff)
devd: Unbreak build
I'm not quite sure why this wasn't caught before. Most likely due to some generated file not being properly cleaned. Fix build by just hiding the warnings that `-i` was supposed to fix. Tested with clang, gcc9, gcc7
Notes
svn path=/head/; revision=334086
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
index 5dc7f23494aa..562c1346ca8a 100644
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -7,14 +7,13 @@ PROG_CXX=devd
SRCS= devd.cc token.l parse.y y.tab.h
MAN= devd.8 devd.conf.5
-YFLAGS=-dvi
-
NO_SHARED?=YES
LIBADD= l util
YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR}
+CFLAGS.clang += -Wno-missing-variable-declarations
CFLAGS.gcc = -Wno-redundant-decls
CXXFLAGS.gcc = -Wno-redundant-decls