summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2016-05-23 05:12:08 +0000
committerbsiegert <bsiegert>2016-05-23 05:12:08 +0000
commit3bd833f6e4212f596047a7740fcf4eb6948e9906 (patch)
tree1b386475eabdceb09d149fc512fd876ba185b243
parent410547093e34222045b05a827a2b7b4d7f1ef9be (diff)
downloadpkgsrc-3bd833f6e4212f596047a7740fcf4eb6948e9906.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.
-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"