]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: avoid -Bsymbolic on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 21 Apr 2023 13:10:23 +0000 (13:10 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 30 Aug 2023 12:59:00 +0000 (12:59 +0000)
commit4a0dceec99c003bb624f561757185f4603d7badc
tree6a90419d5e3101621c35b3fdba102a838839408e
parent1df7de2aa4e400b2fb3f67d5098132f8c511e93c
cmake: avoid -Bsymbolic on Windows

The "-Bsymbolic" and "-Bsymbolic-functions" flags only apply to ELF
binaries.

llvm errors out when targeting Windows, which is why we'll need
to skip those flags for Windows builds.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/CMakeLists.txt