diff options
| author | joerg <joerg@NetBSD.org> | 2011-05-26 12:56:24 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2011-05-26 12:56:24 +0000 |
| commit | ab8637a85feb0cb8ca3a317f983e590da158196e (patch) | |
| tree | 35cf9a1b0b4b71986db94446a9f440e88c42d36b /gnu/usr.bin/diffutils/diff3/Makefile | |
| parent | 0423d5d67fa30a04769b199f3056cdc98141ba1b (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 'gnu/usr.bin/diffutils/diff3/Makefile')
| -rw-r--r-- | gnu/usr.bin/diffutils/diff3/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/diffutils/diff3/Makefile b/gnu/usr.bin/diffutils/diff3/Makefile index 0a0bf153b33..d891e25b378 100644 --- a/gnu/usr.bin/diffutils/diff3/Makefile +++ b/gnu/usr.bin/diffutils/diff3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2011/05/26 12:56:27 joerg Exp $ .include "${.CURDIR}/../Makefile.inc" @@ -11,4 +11,6 @@ SRCS= diff3.c version.c DPADD+= ${LIBDIFFUTILS} LDADD+= ${LIBDIFFUTILS} +CWARNFLAGS.clang+= -Wno-unused-value + .include <bsd.prog.mk> |
