summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2013-12-28 14:41:55 +0000
committertron <tron@pkgsrc.org>2013-12-28 14:41:55 +0000
commita6e4a9f8130e1ae0fb0bffc58b351767c808114e (patch)
treedeff1878d0c52b9af2354bd08555c951563f111d
parent5765d8f81ffc8e2c10c7f0ce69ab7158833f0d3f (diff)
downloadpkgsrc-a6e4a9f8130e1ae0fb0bffc58b351767c808114e.tar.gz
Fix build with GCC (4.8?) under Solaris.
-rw-r--r--devel/glib2/Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib2/Makefile.common b/devel/glib2/Makefile.common
index 6c86b3f68f9..db66905983f 100644
--- a/devel/glib2/Makefile.common
+++ b/devel/glib2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.35 2013/12/10 05:18:46 obache Exp $
+# $NetBSD: Makefile.common,v 1.36 2013/12/28 14:41:55 tron Exp $
#
# used by devel/glib2/Makefile
# used by devel/gdbus-codegen/Makefile
@@ -76,6 +76,10 @@ BUILDLINK_TRANSFORM+= rm:-Werror=missing-prototypes
CONFIGURE_ENV+= ac_cv_func_mmap_fixed_mapped=yes
.endif
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-Werror=format=2
+.endif
+
.include "../../mk/dlopen.buildlink3.mk"
.if !empty(MACHINE_PLATFORM:MIRIX-5*)