summaryrefslogtreecommitdiffstats
path: root/sbin/fsdb/Makefile
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-18 17:42:26 +0000
committerdim <dim@FreeBSD.org>2011-12-18 17:42:26 +0000
commitf0e45fd7759501ef8a95d542c1d70be3ddf200b6 (patch)
treedfd8601a538689393bd5d58e432b7ab87a79ed30 /sbin/fsdb/Makefile
parent50a0ec76972019d46a372f6db8c487475616832b (diff)
downloadFreeBSD-src-f0e45fd7759501ef8a95d542c1d70be3ddf200b6.zip
FreeBSD-src-f0e45fd7759501ef8a95d542c1d70be3ddf200b6.tar.gz
Revert r228603, and add the workaround to sbin/fsdb/Makefile instead.
MFC after: 1 week
Diffstat (limited to 'sbin/fsdb/Makefile')
-rw-r--r--sbin/fsdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile
index 65333ef..038f82e 100644
--- a/sbin/fsdb/Makefile
+++ b/sbin/fsdb/Makefile
@@ -9,6 +9,10 @@ SRCS= fsdb.c fsdbutil.c \
pass5.c setup.c utilities.c ffs_subr.c ffs_tables.c
CFLAGS+= -I${.CURDIR}/../fsck_ffs
WARNS?= 2
+.if ${CC:T:Mclang} == "clang"
+# Work around a problem with format string warnings and ntohs macros.
+NO_WFORMAT=
+.endif
LDADD= -ledit -ltermcap
DPADD= ${LIBEDIT} ${LIBTERMCAP}
.PATH: ${.CURDIR}/../fsck_ffs ${.CURDIR}/../../sys/ufs/ffs
OpenPOWER on IntegriCloud