summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/rdma.cmake
diff options
context:
space:
mode:
authorClifford Allan Jansen <cliffjansen@apache.org>2012-02-09 17:40:14 +0000
committerClifford Allan Jansen <cliffjansen@apache.org>2012-02-09 17:40:14 +0000
commit19a3076040f4d144e604f825b59e48ab27524440 (patch)
tree7c08494ecbca9d17763a815e3d98c74b3c4df887 /qpid/cpp/src/rdma.cmake
parent1c21d7c23b4a5e54d824e4861dd7aca511340b66 (diff)
downloadqpid-python-19a3076040f4d144e604f825b59e48ab27524440.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@1242411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/rdma.cmake')
-rw-r--r--qpid/cpp/src/rdma.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/rdma.cmake b/qpid/cpp/src/rdma.cmake
index 1d840e5d18..b0d92facab 100644
--- a/qpid/cpp/src/rdma.cmake
+++ b/qpid/cpp/src/rdma.cmake
@@ -68,7 +68,7 @@ if (BUILD_RDMA)
if (CMAKE_COMPILER_IS_GNUCXX)
set_target_properties(rdmawrap PROPERTIES
COMPILE_FLAGS -Wno-missing-field-initializers
- LINK_FLAGS -Wl,--no-undefined)
+ LINK_FLAGS ${GCC_CATCH_UNDEFINED})
endif (CMAKE_COMPILER_IS_GNUCXX)
install (TARGETS rdmawrap
@@ -83,7 +83,7 @@ if (BUILD_RDMA)
if (CMAKE_COMPILER_IS_GNUCXX)
set_target_properties(rdma PROPERTIES
COMPILE_FLAGS -Wno-missing-field-initializers
- LINK_FLAGS -Wl,--no-undefined)
+ LINK_FLAGS ${GCC_CATCH_UNDEFINED})
endif (CMAKE_COMPILER_IS_GNUCXX)
install (TARGETS rdma
@@ -98,7 +98,7 @@ if (BUILD_RDMA)
if (CMAKE_COMPILER_IS_GNUCXX)
set_target_properties(rdmaconnector PROPERTIES
COMPILE_FLAGS -Wno-missing-field-initializers
- LINK_FLAGS -Wl,--no-undefined)
+ LINK_FLAGS ${GCC_CATCH_UNDEFINED})
endif (CMAKE_COMPILER_IS_GNUCXX)
install (TARGETS rdmaconnector