summaryrefslogtreecommitdiff
path: root/cpp/src/cluster.cmake
diff options
context:
space:
mode:
authorClifford Jansen <cliffjansen@apache.org>2012-02-09 17:40:14 +0000
committerClifford Jansen <cliffjansen@apache.org>2012-02-09 17:40:14 +0000
commitbce2f35a4168beab1f7e439dd464ba53ed4dd2f4 (patch)
tree16b859501ff4568c56d949167224ab97acadbc1b /cpp/src/cluster.cmake
parent77f0843cd171e1c7e6ad0ac2ee5f6bb4c6fd891f (diff)
downloadqpid-python-bce2f35a4168beab1f7e439dd464ba53ed4dd2f4.tar.gz
QPID-3621 cmake build changes for solaris and solaris specific code changes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/cluster.cmake')
-rw-r--r--cpp/src/cluster.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/cluster.cmake b/cpp/src/cluster.cmake
index 0b0e26141f..815cdffdec 100644
--- a/cpp/src/cluster.cmake
+++ b/cpp/src/cluster.cmake
@@ -154,7 +154,7 @@ if (BUILD_CLUSTER)
# Turn off optimisation based on strict-aliasing because we get warnings about violations
set_target_properties(cluster cluster_shared PROPERTIES
COMPILE_FLAGS "-fno-strict-aliasing"
- LINK_FLAGS "-Wl,--no-undefined -pthread")
+ LINK_FLAGS "${GCC_CATCH_UNDEFINED} -pthread")
endif (CMAKE_COMPILER_IS_GNUCXX)
add_library (watchdog MODULE qpid/cluster/WatchDogPlugin.cpp)