summaryrefslogtreecommitdiff
path: root/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
commit09516db3de415117dd2fe4c3030f463d94953332 (patch)
tree16b859501ff4568c56d949167224ab97acadbc1b /cpp/src/rdma.cmake
parente1fea34cda777d436549beba82dd0fe04350edd9 (diff)
downloadqpid-python-09516db3de415117dd2fe4c3030f463d94953332.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