svn commit: r334086 - head/sbin/devd
Eitan Adler
eadler at FreeBSD.org
Wed May 23 10:03:10 UTC 2018
Author: eadler
Date: Wed May 23 10:03:09 2018
New Revision: 334086
URL: https://svnweb.freebsd.org/changeset/base/334086
Log:
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
Modified:
head/sbin/devd/Makefile
Modified: head/sbin/devd/Makefile
==============================================================================
--- head/sbin/devd/Makefile Wed May 23 09:46:21 2018 (r334085)
+++ head/sbin/devd/Makefile Wed May 23 10:03:09 2018 (r334086)
@@ -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
More information about the svn-src-all
mailing list