aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-05-23 07:44:50 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-05-23 07:44:50 +0000
commite8d9a1edb3c174303a574f222ddde56561ae134a (patch)
tree937ea5fdb5bc4641f11047c2ffff07fbc288f48e /sbin
parent0bc60783dabd6232d8a385bab228c859ae80e22a (diff)
downloadsrc-e8d9a1edb3c174303a574f222ddde56561ae134a.tar.gz
src-e8d9a1edb3c174303a574f222ddde56561ae134a.zip
devd: allow build to complete using g++
Notes
Notes: svn path=/head/; revision=334079
Diffstat (limited to 'sbin')
-rw-r--r--sbin/devd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
index 6121d4f31bf2..5dc7f23494aa 100644
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -15,6 +15,8 @@ LIBADD= l util
YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR}
+CFLAGS.gcc = -Wno-redundant-decls
+CXXFLAGS.gcc = -Wno-redundant-decls
CLEANFILES= y.output y.tab.i