Skip to content

Commit

Permalink
Disable noisy warning for GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonn committed May 7, 2016
1 parent 6f67e7b commit 0ea84ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgtools/pkg_select/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.22 2015/08/18 07:31:16 wiz Exp $
# $NetBSD: Makefile,v 1.23 2016/05/07 10:08:30 joerg Exp $
#

DISTNAME= pkg_select-20090308
Expand All @@ -22,6 +22,8 @@ CONF_FILES= ${EXAMPLEDIR}/${PKGBASE}.conf.example \
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
BUILDLINK_TRANSFORM+= rm:-Wno-traditional
.elif !empty(PKGSRC_COMPILER:Mgcc)
CFLAGS+= -Wno-error=unused-but-set-variable
.endif

SUBST_CLASSES+= path
Expand Down

0 comments on commit 0ea84ff

Please sign in to comment.