summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-10 14:35:14 -0800
committerJunio C Hamano <gitster@pobox.com>2021-12-10 14:35:14 -0800
commitd67fc4bf0ba89835c61efd1279c732fc640b3b2d (patch)
treeeb26076973292289415d3311e4e3db6f9135c06e /Makefile
parentb8148376a2dbb02ade419c2e3fdc478c1f0981dd (diff)
parent7bc341e21b566c6685b7d993ca80459f9994be38 (diff)
Merge branch 'bc/require-c99'
Weather balloon to break people with compilers that do not support
C99.

* bc/require-c99:
  git-compat-util: add a test balloon for C99 support
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d56c0e4aad..ed75ed422b 100644
--- a/Makefile
+++ b/Makefile
@@ -1212,7 +1212,7 @@ ARFLAGS = rcs
 PTHREAD_CFLAGS =
 
 # For the 'sparse' target
-SPARSE_FLAGS ?=
+SPARSE_FLAGS ?= -std=gnu99
 SP_EXTRA_FLAGS = -Wno-universal-initializer
 
 # For informing GIT-BUILD-OPTIONS of the SANITIZE=leak target