summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-05-07 10:08:30 +0000
committerjoerg <joerg@pkgsrc.org>2016-05-07 10:08:30 +0000
commit0168a4b876d3ef9e3d7c33de3014693771103471 (patch)
tree145890ea87991691b58024348d0e86cbf44e13a5 /pkgtools
parent4e7bcd5c00e89007c351b66656f97f1e4f569920 (diff)
downloadpkgsrc-0168a4b876d3ef9e3d7c33de3014693771103471.tar.gz
Disable noisy warning for GCC.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_select/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkg_select/Makefile b/pkgtools/pkg_select/Makefile
index b7d07d75d60..6b4b1d03c79 100644
--- a/pkgtools/pkg_select/Makefile
+++ b/pkgtools/pkg_select/Makefile
@@ -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
@@ -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