diff options
author | joerg <joerg@pkgsrc.org> | 2014-07-07 13:21:27 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2014-07-07 13:21:27 +0000 |
commit | ad940fdeadabde18d08809ea57c84ff17b106453 (patch) | |
tree | 53d285074071c021c08521475c81ec7a004bbc07 /net/zeromq | |
parent | 911a914826e17ed8e76249ad369f554862449568 (diff) | |
download | pkgsrc-ad940fdeadabde18d08809ea57c84ff17b106453.tar.gz |
Clang needs C++11 as well.
Diffstat (limited to 'net/zeromq')
-rw-r--r-- | net/zeromq/Makefile | 6 |
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} |