You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2020/02/29 14:36:14 UTC
[celix] branch hotfix/#157-build-etcdlib-issues updated: #157 Adds
-pthread flag for etcdlib
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch hotfix/#157-build-etcdlib-issues
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/hotfix/#157-build-etcdlib-issues by this push:
new daf4ff0 #157 Adds -pthread flag for etcdlib
daf4ff0 is described below
commit daf4ff0362f77cd6c5414d21bcdf98361cfc9e96
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Sat Feb 29 15:36:00 2020 +0100
#157 Adds -pthread flag for etcdlib
---
libs/etcdlib/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/etcdlib/CMakeLists.txt b/libs/etcdlib/CMakeLists.txt
index 7bd4271..0d08790 100644
--- a/libs/etcdlib/CMakeLists.txt
+++ b/libs/etcdlib/CMakeLists.txt
@@ -30,7 +30,7 @@ if (NOT COMMAND celix_subproject)
include(GNUInstallDirs)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
- set(CMAKE_C_FLAGS "-D_GNU_SOURCE -std=gnu99 ${CMAKE_C_FLAGS}")
+ set(CMAKE_C_FLAGS "-pthread -D_GNU_SOURCE -std=gnu99 ${CMAKE_C_FLAGS}")
set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG")
set(ETCDLIB_CMP ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME})