From f0e45fd7759501ef8a95d542c1d70be3ddf200b6 Mon Sep 17 00:00:00 2001 From: dim Date: Sun, 18 Dec 2011 17:42:26 +0000 Subject: Revert r228603, and add the workaround to sbin/fsdb/Makefile instead. MFC after: 1 week --- sbin/fsdb/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sbin/fsdb/Makefile') 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 -- cgit v1.1