]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: use GNU linker on FreeBSD
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 23 Oct 2019 12:12:25 +0000 (14:12 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 23 Oct 2019 16:43:04 +0000 (18:43 +0200)
commit6b1199d8013f0ff158e481f7726737d26e965cd2
treee3bdef26238564e69f18bb431ed4434ff3f35781
parenta479811c51afdca0ed389cab0e79ea4ba89a2de8
cmake: use GNU linker on FreeBSD

The LLVM ld linker does not understand the versioning mapping.
This is a "documented" difference between GNU ld en LLVM ld.

So we fall back to the GNU linker in the binutils package.

Fixing this with a option to cmake is not possible when building
FreeBSD packages. Many of these options are filtered in the
ports make system. And do not make it to cmake being called to
build the build-tree.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/CMakeLists.txt