]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Make: use -std=gnu99
authorJunio C Hamano <gitster@pobox.com>
Fri, 3 Dec 2021 23:30:08 +0000 (15:30 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Dec 2021 23:30:08 +0000 (15:30 -0800)
Make

diff --git a/Make b/Make
index f0dd5ed29878d8f63d192659270ad716ff8168f9..ba6f4e2c3f04ccce699471b18ead64cf978360b4 100755 (executable)
--- a/Make
+++ b/Make
@@ -282,7 +282,7 @@ ${make-make} \
      $jobs \
      ETC_GITCONFIG=$prefix/etc/gitconfig \
      ${DEVELOPER:+"DEVELOPER=YesPlease"} \
-     ${O:+CFLAGS="-g -Wall -Wdeclaration-after-statement $O"} \
+     CFLAGS="-g -Wall -Wdeclaration-after-statement -std=gnu99${O:+ $O}" \
      ${tests:+"T=$tests"} \
      "$@"
 status=$?