Enable threads when building libunwind

The thread local SjLj context pointers are only flagged properly
as thread local when building with threads enabled.
This commit is contained in:
Martin Storsjö authored and Martin Storsjo committed 2017-10-09 22:58:11 +03:00
1 parent 1c770a278a
commit 7730f5952e
1 file changed
+1 -1
+1 -1
View File
@@ -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__" \