From 7730f5952ed00d71766bc9f547516e17c5188e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 9 Oct 2017 22:58:11 +0300 Subject: [PATCH] Enable threads when building libunwind The thread local SjLj context pointers are only flagged properly as thread local when building with threads enabled. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c7c02f1..48ebf4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -257,7 +257,7 @@ RUN cd libunwind && \ -DCMAKE_RANLIB=$TOOLCHAIN_PREFIX/bin/$RANLIB \ -DLLVM_NO_OLD_LIBSTDCXX=TRUE \ -DLIBUNWIND_USE_COMPILER_RT=TRUE \ - -DLIBUNWIND_ENABLE_THREADS=FALSE \ + -DLIBUNWIND_ENABLE_THREADS=TRUE \ -DLIBUNWIND_ENABLE_SHARED=FALSE \ -DLIBUNWIND_ENABLE_CROSS_UNWINDING=FALSE \ -DCMAKE_CXX_FLAGS="-fsjlj-exceptions -D__USING_SJLJ_EXCEPTIONS__" \