summaryrefslogtreecommitdiff
path: root/sys/modules/nilfs
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-05-26 12:56:24 +0000
committerjoerg <joerg@NetBSD.org>2011-05-26 12:56:24 +0000
commitab8637a85feb0cb8ca3a317f983e590da158196e (patch)
tree35cf9a1b0b4b71986db94446a9f440e88c42d36b /sys/modules/nilfs
parent0423d5d67fa30a04769b199f3056cdc98141ba1b (diff)
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
Diffstat (limited to 'sys/modules/nilfs')
-rw-r--r--sys/modules/nilfs/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/nilfs/Makefile b/sys/modules/nilfs/Makefile
index 2e1c7c907f6..1318188f66f 100644
--- a/sys/modules/nilfs/Makefile
+++ b/sys/modules/nilfs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2009/07/18 16:31:43 reinoud Exp $
+# $NetBSD: Makefile,v 1.2 2011/05/26 12:56:31 joerg Exp $
.include "../Makefile.inc"
@@ -7,4 +7,6 @@
KMOD= nilfs
SRCS= nilfs_vfsops.c nilfs_vnops.c nilfs_subr.c
+CWARNFLAGS.clang= -Wno-self-assign
+
.include <bsd.kmodule.mk>