summaryrefslogtreecommitdiff
path: root/pkgtools/pbulk-base
diff options
context:
space:
mode:
authorjoerg <joerg>2014-07-29 11:37:46 +0000
committerjoerg <joerg>2014-07-29 11:37:46 +0000
commit2574c8c079ad132c2540ceea8e1ea46c5c68c039 (patch)
treec34963c27ae80e7e2903f262ffd4dec3dc211e28 /pkgtools/pbulk-base
parent5a81d611f7f272300bfeedc3424a2e5a8d7eeeb9 (diff)
downloadpkgsrc-2574c8c079ad132c2540ceea8e1ea46c5c68c039.tar.gz
PR 48824: Disable bogus clobbering warning from GCC 4.8.
Diffstat (limited to 'pkgtools/pbulk-base')
-rw-r--r--pkgtools/pbulk-base/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgtools/pbulk-base/Makefile b/pkgtools/pbulk-base/Makefile
index a38264979a7..427fd0a5976 100644
--- a/pkgtools/pbulk-base/Makefile
+++ b/pkgtools/pbulk-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2014/06/13 14:02:53 jperkin Exp $
+# $NetBSD: Makefile,v 1.15 2014/07/29 11:37:46 joerg Exp $
DISTNAME= pbulk-base-0.48
COMMENT= Core components of the modular bulk build framework
@@ -15,7 +15,11 @@ MAKE_FLAGS+= CWARNFLAGS.clang=-Wno-error=missing-noreturn
CONFLICTS= pbulk<0.39
-.include "../../mk/bsd.prefs.mk"
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-4.8*)
+CPPFLAGS+= -Wno-clobbered
+.endif
.if ${OPSYS} == "SunOS"
LDADD+= -lsocket -lresolv