summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2016-05-07 10:11:15 +0000
committerjoerg <joerg@pkgsrc.org>2016-05-07 10:11:15 +0000
commitce522d12de7c49e1294dba499e7425aa3df00dc2 (patch)
tree031974417431441925e0658ed3d758883acf5a31
parent6d51d8d3b50e398381d3569164369354c31424e8 (diff)
downloadpkgsrc-ce522d12de7c49e1294dba499e7425aa3df00dc2.tar.gz
Disable noisy GCC warnings.
-rw-r--r--wm/fluxconf/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/wm/fluxconf/Makefile b/wm/fluxconf/Makefile
index 17713931f97..340759336fd 100644
--- a/wm/fluxconf/Makefile
+++ b/wm/fluxconf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2015/04/25 14:24:59 tnn Exp $
+# $NetBSD: Makefile,v 1.30 2016/05/07 10:11:15 joerg Exp $
#
DISTNAME= fluxconf-0.9.9
@@ -21,6 +21,9 @@ USE_TOOLS+= msgfmt pkg-config
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+= -Wno-error=invalid-source-encoding -Wno-error=format-security -Wno-error=self-assign
CWRAPPERS_APPEND.cc+= -Wno-error=invalid-source-encoding -Wno-error=format-security -Wno-error=self-assign
+.elif !empty(PKGSRC_COMPILER:Mgcc)
+_WRAP_EXTRA_ARGS.CC+= -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
+CWRAPPERS_APPEND.cc+= -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
.endif
.include "../../devel/gettext-lib/buildlink3.mk"