summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/cluster.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/src/cluster.cmake')
-rw-r--r--qpid/cpp/src/cluster.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/cluster.cmake b/qpid/cpp/src/cluster.cmake
index 0b0e26141f..815cdffdec 100644
--- a/qpid/cpp/src/cluster.cmake
+++ b/qpid/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)