summaryrefslogtreecommitdiff
path: root/cpp/src/rdma.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/rdma.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/rdma.cmake')
-rw-r--r--cpp/src/rdma.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/rdma.cmake b/cpp/src/rdma.cmake
index 1d840e5d18..b0d92facab 100644
--- a/cpp/src/rdma.cmake
+++ b/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