summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorjoerg <joerg>2016-05-07 10:11:15 +0000
committerjoerg <joerg>2016-05-07 10:11:15 +0000
commite84684ee733d19f7d90f06d8ec99bd2e953613e5 (patch)
tree031974417431441925e0658ed3d758883acf5a31 /wm
parent88156850e99f0c0da15960661c65eee933f3cd53 (diff)
downloadpkgsrc-e84684ee733d19f7d90f06d8ec99bd2e953613e5.tar.gz
Disable noisy GCC warnings.
Diffstat (limited to 'wm')
-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"