Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2018 10:03:10 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334086 - head/sbin/devd
Message-ID:  <201805231003.w4NA3AGj038925@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805231003.w4NA3AGj038925>