From df9ea923ba6f14a700e0e5633fb7c550018a65e8 Mon Sep 17 00:00:00 2001 From: Nick Zavaritsky <mejedi@gmail.com> Date: Wed, 30 Sep 2015 22:48:26 +0300 Subject: [PATCH] gh-1053: Thread names, libeio pool --- cmake/BuildLibEIO.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/BuildLibEIO.cmake b/cmake/BuildLibEIO.cmake index 3f4c59a924..48e7582e5a 100644 --- a/cmake/BuildLibEIO.cmake +++ b/cmake/BuildLibEIO.cmake @@ -8,6 +8,10 @@ macro(libeio_build) set(eio_compile_flags "${eio_compile_flags} -Wno-unused-value") set(eio_compile_flags "${eio_compile_flags} -DENABLE_BUNDLED_LIBEIO=1") set(eio_compile_flags "${eio_compile_flags} -DEIO_STACKSIZE=0") + if (TARGET_OS_LINUX) + set(eio_compile_flags + "${eio_compile_flags} -DHAVE_SYS_PRCTL_H -DHAVE_PRCTL_SET_NAME") + endif () set(eio_src ${PROJECT_SOURCE_DIR}/third_party/tarantool_eio.c -- GitLab