Makefile: force -O0 when compiling with SANITIZE=leak
commit86fa96860b42d13dac3b1023817dfc177a91324c
authorJeff King <peff@peff.net>
Tue, 18 Oct 2022 20:15:33 +0000 (18 16:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Oct 2022 22:12:22 +0000 (27 15:12 -0700)
treee6e58f37eea7c8431e8e79a563f63532908b2a34
parent7d8dc5a1af9da32ac7454499f308db757eb19642
Makefile: force -O0 when compiling with SANITIZE=leak

Cherry pick commit d3775de0 (Makefile: force -O0 when compiling with
SANITIZE=leak, 2022-10-18), as otherwise the leak checker at GitHub
Actions CI seems to fail with a false positive.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile