pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/boost-libs also disable fiber when using clang o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/96cf25c39dcd
branches:  trunk
changeset: 356102:96cf25c39dcd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Dec 18 22:08:07 2016 +0000

description:
also disable fiber when using clang on NetBSD due to lack of thread_local

diffstat:

 devel/boost-libs/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 4799b9a2ff93 -r 96cf25c39dcd devel/boost-libs/Makefile
--- a/devel/boost-libs/Makefile Sun Dec 18 21:59:32 2016 +0000
+++ b/devel/boost-libs/Makefile Sun Dec 18 22:08:07 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2016/12/04 05:17:22 ryoon Exp $
+# $NetBSD: Makefile,v 1.49 2016/12/18 22:08:07 tnn Exp $
 
 BOOST_PACKAGE=         libs
 BOOST_COMMENT=         (binary libraries)
@@ -38,7 +38,9 @@
 # fiber requires context, so also disable it where context cannot be built
 .if ((${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14) || \
     !empty(MACHINE_PLATFORM:MNetBSD-[0-6]*-*)) || \
-    !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || !empty(MACHINE_ARCH:Msparc64)
+    !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) || \
+    !empty(MACHINE_ARCH:Msparc64) || \
+    (${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:Mclang))
 BJAM_ARGS+=            --without-fiber
 .else
 PLIST.fiber=           yes



Home | Main Index | Thread Index | Old Index