summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-03-26 19:31:33 +0000
committerdim <dim@FreeBSD.org>2014-03-26 19:31:33 +0000
commitd8bb143013808c3a408228d184e27292e5274991 (patch)
treee94476d4e9b368b147b9e290fa7e42496274b2ff /sbin
parentdb52b17caa2df9bb0c8bce0ea648cf0b5e061f25 (diff)
downloadFreeBSD-src-d8bb143013808c3a408228d184e27292e5274991.zip
FreeBSD-src-d8bb143013808c3a408228d184e27292e5274991.tar.gz
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++. MFC after: 3 days X-MFC-With: r263694
Diffstat (limited to 'sbin')
-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