summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-09-07 23:43:40 +0000
committerjoerg <joerg@pkgsrc.org>2011-09-07 23:43:40 +0000
commitbb2157d9a85b7c22a9d45a93e9f9a4d325b294f7 (patch)
tree50067ebac3e5ea6c46b4888ff906604bb268f02d /devel
parentc801234a83d0a4bd6c22f48b349ae4d8e3e30f57 (diff)
downloadpkgsrc-bb2157d9a85b7c22a9d45a93e9f9a4d325b294f7.tar.gz
Request C++-11 mode for Clang too.
Diffstat (limited to 'devel')
-rw-r--r--devel/boost-jam/bjam.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/boost-jam/bjam.mk b/devel/boost-jam/bjam.mk
index c6f3a6a3ba4..486755e5e7c 100644
--- a/devel/boost-jam/bjam.mk
+++ b/devel/boost-jam/bjam.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bjam.mk,v 1.12 2011/03/31 06:17:12 adam Exp $
+# $NetBSD: bjam.mk,v 1.13 2011/09/07 23:43:40 joerg Exp $
.include "../../devel/boost-jam/buildlink3.mk"
@@ -17,7 +17,7 @@ BJAM_ARGS+= --disable-long-double
BJAM_ARGS+= ${BJAM_BUILD}
# GCC 4.4 and above needs this
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)
+.if (!empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.[4-9]*)) || !empty(PKGSRC_COMPILER:Mclang)
BJAM_ARGS+= cxxflags=-std=c++0x
.endif