Git fork

Makefile: drop -DSUPPRESS_ANNOTATED_LEAKS

The -DSUPPRESS_ANNOTATED_LEAKS preprocessor directive was used to enable
our `UNLEAK()` macro in the past, which marks memory as still-reachable
so that the leak sanitizer does not complain. Starting with 52c7dbd036
(git-compat-util: drop now-unused `UNLEAK()` macro, 2024-11-20) this
macro has been removed, and thus the preprocessor directive is not
required anymore, either.

Drop it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Patrick Steinhardt and committed by
Junio C Hamano
23eeee08 714c134d

-2
-1
Makefile
··· 1490 1490 BASIC_CFLAGS += -DSHA1DC_FORCE_ALIGNED_ACCESS 1491 1491 endif 1492 1492 ifneq ($(filter leak,$(SANITIZERS)),) 1493 - BASIC_CFLAGS += -DSUPPRESS_ANNOTATED_LEAKS 1494 1493 BASIC_CFLAGS += -O0 1495 1494 SANITIZE_LEAK = YesCompiledWithIt 1496 1495 endif
-1
meson.build
··· 712 712 build_options_config.set('SANITIZE_ADDRESS', '') 713 713 endif 714 714 if get_option('b_sanitize').contains('leak') 715 - libgit_c_args += '-DSUPPRESS_ANNOTATED_LEAKS' 716 715 build_options_config.set('SANITIZE_LEAK', 'YesCompiledWithIt') 717 716 else 718 717 build_options_config.set('SANITIZE_LEAK', '')