summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/zeromq/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/zeromq/Makefile b/net/zeromq/Makefile
index 0dae6d09376..14418738d0f 100644
--- a/net/zeromq/Makefile
+++ b/net/zeromq/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2014/07/07 12:56:26 obache Exp $
+# $NetBSD: Makefile,v 1.18 2014/07/07 13:21:27 joerg Exp $
DISTNAME= zeromq-4.0.4
CATEGORIES= net devel
@@ -25,6 +25,10 @@ TEST_TARGET= check
CXXFLAGS+= -std=gnu++0x
.endif
+.if !empty(CC_VERSION:Mclang-*)
+CXXFLAGS+= -std=gnu++11
+.endif
+
.include "../../security/libsodium/buildlink3.mk"
CONFIGURE_ARGS+= --with-libsodium=${BUILDLINK_PREFIX.libsodium}