Don't warn about mixing logical ops without parentheses or negative
array indices.
This commit is contained in:
parent
dd6f9c987f
commit
a8ed4ab4e3
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.26 2012/10/31 11:16:40 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2013/09/10 14:16:22 joerg Exp $
|
||||
|
||||
DISTNAME= bcc
|
||||
PKGREVISION= 1
|
||||
|
@ -20,6 +20,9 @@ USE_TOOLS+= groff nroff
|
|||
|
||||
INSTALLATION_DIRS= bin lib/bcc ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
|
||||
|
||||
CWARNFLAGS.clang= -Wno-error=logical-op-parentheses -Wno-error=array-bounds
|
||||
MAKE_FLAGS+= CWARNFLAGS.clang=${CWARNFLAGS.clang:Q}
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if ${MACHINE_ARCH} == "x86_64"
|
||||
|
|
Loading…
Reference in a new issue