Skip to content

Commit 506e271

Browse files
authored
ci: fix the linux-leaks job (git-for-windows#4085)
The CI builds have been seriously broken as of v2.38.1 by the constantly failing `linux-leaks` job. Let's backport the work-around that has been applied to upstream Git (but that funnily has not been based directly on top of v2.38.1).
2 parents b85c8f6 + b6afb3f commit 506e271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1341,6 +1341,7 @@ BASIC_CFLAGS += -DSHA1DC_FORCE_ALIGNED_ACCESS
13411341
endif
13421342
ifneq ($(filter leak,$(SANITIZERS)),)
13431343
BASIC_CFLAGS += -DSUPPRESS_ANNOTATED_LEAKS
1344+
BASIC_CFLAGS += -O0
13441345
SANITIZE_LEAK = YesCompiledWithIt
13451346
endif
13461347
ifneq ($(filter address,$(SANITIZERS)),)

0 commit comments

Comments
 (0)