chore(build): remove the compile option related to RTLD_DEEPBIND

Signed-off-by: Iacopo Rozzo <iacopo@sysdig.com>
This commit is contained in:
Iacopo Rozzo
2025-10-20 14:10:39 +02:00
committed by poiana
parent 38a54b7c6b
commit e806010af2

View File

@@ -59,10 +59,6 @@ if(NOT MSVC)
if(USE_ASAN)
set(FALCO_SECURITY_FLAGS "${FALCO_SECURITY_FLAGS} -fsanitize=address")
endif()
# todo(leogr): this should be passed down to libs cmake modules RTLD_DEEPBIND flag is
# incompatible with sanitizer runtime (see https://github.com/google/sanitizers/issues/611 for
# details)
add_compile_definitions(DISABLE_RTLD_DEEPBIND=$<IF:$<BOOL:${USE_ASAN}>,1,0>)
if(USE_UBSAN)
set(FALCO_SECURITY_FLAGS "${FALCO_SECURITY_FLAGS} -fsanitize=undefined")