diff options
-rw-r--r-- | solenv/gbuild/platform/unxgcc.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk index 79144b19763b..a84c095721ff 100644 --- a/solenv/gbuild/platform/unxgcc.mk +++ b/solenv/gbuild/platform/unxgcc.mk @@ -76,6 +76,11 @@ endif ifneq ($(HAVE_LD_BSYMBOLIC_FUNCTIONS),) gb_LinkTarget_LDFLAGS += -Wl,-Bsymbolic-functions +ifeq ($(COM_IS_CLANG),TRUE) +ifneq ($(filter -fsanitize=%,$(CC)),) +gb_LinkTarget_LDFLAGS += -Wl,--dynamic-list-cpp-typeinfo +endif +endif endif ifneq ($(gb_DEBUGLEVEL),0) |