diff --git a/core/config_sanitizers.mk b/core/config_sanitizers.mk index e0b8fdeea5..4a94e93f95 100644 --- a/core/config_sanitizers.mk +++ b/core/config_sanitizers.mk @@ -139,7 +139,7 @@ ifeq ($(filter memtag_heap, $(my_sanitize)),) ifneq ($(strip $(foreach dir,$(subst $(comma),$(space),$(combined_sync_include_paths)),\ $(filter $(dir)%,$(LOCAL_PATH)))),) my_sanitize := memtag_heap $(my_sanitize) - my_sanitize_diag := memtag_heap $(my_sanitize) + my_sanitize_diag := memtag_heap $(my_sanitize_diag) else ifneq ($(strip $(foreach dir,$(subst $(comma),$(space),$(combined_async_include_paths)),\ $(filter $(dir)%,$(LOCAL_PATH)))),) my_sanitize := memtag_heap $(my_sanitize)