aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-04-24 17:13:29 -0700
committerJunio C Hamano <gitster@pobox.com>2025-04-24 17:13:30 -0700
commitd5b8a70db160a246a275c86fd90e383d3690e45c (patch)
treeb3dec8c59a88308fc5db31fc1702a923f8f1e368
parent683c54c999c301c2cd6f715c411407c413b1d84e (diff)
parentda87b58014c1673ed8c47a14d315ad5ad4d801db (diff)
downloadgit-d5b8a70db160a246a275c86fd90e383d3690e45c.tar.gz
Merge branch 'dd/sparse-glibc-workaround' into maint-2.49
Squelch false-positive from sparse. * dd/sparse-glibc-workaround: sparse: ignore warning from new glibc headers
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7315507381..3868edd349 100644
--- a/Makefile
+++ b/Makefile
@@ -1409,7 +1409,7 @@ ARFLAGS = rcs
PTHREAD_CFLAGS =
# For the 'sparse' target
-SPARSE_FLAGS ?= -std=gnu99
+SPARSE_FLAGS ?= -std=gnu99 -D__STDC_NO_VLA__
SP_EXTRA_FLAGS =
# For informing GIT-BUILD-OPTIONS of the SANITIZE=leak,address targets