diff options
author | joerg <joerg@pkgsrc.org> | 2013-09-10 14:16:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-09-10 14:16:22 +0000 |
commit | 713080fc7452627c6e9e8f3382242c632afaca39 (patch) | |
tree | fec0b6542ee7db0f6cbe4f0f48f91444432006f4 /devel/bcc | |
parent | a441c4c932203d449f7d665110dc6fdfc893f2f9 (diff) | |
download | pkgsrc-713080fc7452627c6e9e8f3382242c632afaca39.tar.gz |
Don't warn about mixing logical ops without parentheses or negative
array indices.
Diffstat (limited to 'devel/bcc')
-rw-r--r-- | devel/bcc/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/bcc/Makefile b/devel/bcc/Makefile index b81acb587eb..3d8ff4404ee 100644 --- a/devel/bcc/Makefile +++ b/devel/bcc/Makefile @@ -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" |