You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2017/03/13 19:34:28 UTC

qpid-dispatch git commit: DISPATCH-622 - Use -lpthread compile option for Solaris

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 94ac71cd4 -> 81eee4494


DISPATCH-622 - Use -lpthread compile option for Solaris


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/81eee449
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/81eee449
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/81eee449

Branch: refs/heads/master
Commit: 81eee449441012b1771abd8c2a048c52b532e349
Parents: 94ac71c
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Mon Mar 13 15:33:35 2017 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Mon Mar 13 15:33:35 2017 -0400

----------------------------------------------------------------------
 CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/81eee449/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 409da72..c1f45ae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,15 +124,15 @@ include_directories(
     ${PYTHON_INCLUDE_PATH}
     )
 
-add_compile_options(-pthread)
-
 if (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS)
  add_compile_options(-Werror)
  add_compile_options(-Wall)
  add_compile_options(-std=gnu99)
+ add_compile_options(-pthread)
 else (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS)
  add_compile_options(-xc99)
  add_compile_options(-errwarn=%all)
+ add_compile_options(-lpthread)
 endif (NOT CMAKE_SYSTEM_NAME STREQUAL SunOS)
 
 set(CATCH_UNDEFINED "-Wl,-z,defs")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org