summaryrefslogtreecommitdiffstats
path: root/sbin/devd
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-03-29 11:33:52 +0000
committerdim <dim@FreeBSD.org>2014-03-29 11:33:52 +0000
commit16ced9806597f879f890ee19b9b4b6b58b10aebe (patch)
tree73368a4ffee16040612c95ae6a10ba292095ddaf /sbin/devd
parent24df444399cfaba467c99b7580d9f5738158fc6f (diff)
downloadFreeBSD-src-16ced9806597f879f890ee19b9b4b6b58b10aebe.zip
FreeBSD-src-16ced9806597f879f890ee19b9b4b6b58b10aebe.tar.gz
MFC r263774:
Revert r263694, and apply a better fix to squelch unnecessary warnings from clang about possible keywords being treated as identifiers for the remainder of the translation unit (a.k.a. -Wkeyword-compat), when using libstdc++ in combination with -Wsystem-headers. This will not only fix devd, but any C++ program using libstdc++.
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
index 20b3e99..c53f094 100644
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -13,7 +13,6 @@ LDADD= -ll -lutil
YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR}
-CFLAGS.clang+=-Wno-keyword-compat
CLEANFILES= y.output
OpenPOWER on IntegriCloud