From 695a3b29fffea5fc620b94b578365835154585e0 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Wed, 23 May 2018 10:03:09 +0000 Subject: [PATCH] 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 --- sbin/devd/Makefile | 3 +-- 1 file changed, 1 insertion(+), 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