summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2016-05-23 05:12:08 +0000
committerbsiegert <bsiegert@pkgsrc.org>2016-05-23 05:12:08 +0000
commit6e9e945338ec9e31690f15114599f4b0a4b64e75 (patch)
tree1b386475eabdceb09d149fc512fd876ba185b243 /wm
parentecf8156b87adeded8831a17c637574d4f6a0d719 (diff)
downloadpkgsrc-6e9e945338ec9e31690f15114599f4b0a4b64e75.tar.gz
Pullup ticket #5008 - requested by joerg
wm/fluxconf: build fix Revisions pulled up: - wm/fluxconf/Makefile 1.30 --- Module Name: pkgsrc Committed By: joerg Date: Sat May 7 10:11:15 UTC 2016 Modified Files: pkgsrc/wm/fluxconf: Makefile Log Message: 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..1a9ed4ae6cc 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.29.8.1 2016/05/23 05:12:08 bsiegert 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"