]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: do not override CMAKE_EXE_LINKER_FLAGS
authorKefu Chai <tchaikov@gmail.com>
Sun, 17 Mar 2024 13:36:23 +0000 (21:36 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 26 Mar 2024 23:35:28 +0000 (07:35 +0800)
commit0dc61a4be335073e9a3047cf52ec3d12e4244f4d
treee2929993ed2fa7532cdc7cbd42c5e976e155ef71
parenta13a61d63dbaa0bf294a34da3d016291dfdc5668
cmake: do not override CMAKE_EXE_LINKER_FLAGS

instead of overriding CMAKE_EXE_LINKER_FLAGS, let's append to it.
so that the existing `CMAKE_EXE_LINKER_FLAGS` is not overriden.

this should enable us to build with Clang and with sanitizer(s) enabled.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/CMakeLists.txt