]> granicus.if.org Git - gc/commit
Support Haiku multi-threaded build by CMake
authorIvan Maidanski <ivmai@mail.ru>
Tue, 27 Mar 2018 22:06:01 +0000 (01:06 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 27 Mar 2018 22:06:01 +0000 (01:06 +0300)
commit40bcbe36a7abe3e316b3c5010006efe0d7ec1958
tree8ce8470b82aaf5db67fb66e3234bc6221f81747b
parentf8709b10f1987b96b8dd235f36835172f587139f
Support Haiku multi-threaded build by CMake

Issue #97 (bdwgc).

* CMakeLists.txt [CMAKE_USE_PTHREADS_INIT && HOST=*-*-haiku*]: Define
GC_THREADS and _REENTRANT macros.
* CMakeLists.txt [CMAKE_USE_PTHREADS_INIT && HOST=*-*-haiku*
&& enable_parallel_mark]: Define PARALLEL_MARK macro.
* CMakeLists.txt [CMAKE_USE_PTHREADS_INIT && HOST=*-*-haiku*
&& enable_thread_local_alloc]: Define THREAD_LOCAL_ALLOC macro.
CMakeLists.txt