From: Willem Jan Withagen Date: Sun, 4 Nov 2018 11:25:34 +0000 (+0100) Subject: cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD X-Git-Tag: v14.1.0~1002^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24920%2Fhead;p=ceph.git cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD Signed-off-by: Willem Jan Withagen --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0ea7f9690fb..43c44388f30 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -399,7 +399,7 @@ target_link_libraries(ceph-common ${ceph_common_deps}) set_target_properties(ceph-common PROPERTIES SOVERSION 0 INSTALL_RPATH "") -if(NOT APPLE) +if(NOT APPLE AND NOT FREEBSD) # Apple uses Mach-O, not ELF. so this option does not apply to APPLE. # # prefer the local symbol definitions when binding references to global