]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Make: tweak spatch invocation
authorJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2022 22:11:58 +0000 (15:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Sep 2022 22:11:58 +0000 (15:11 -0700)
Make

diff --git a/Make b/Make
index ff24987036d6f899e567d3a39aa2fb5ce3229adb..6627a5ce3de8c7cc980e7dfdcc0dcc7bc8ffe63a 100755 (executable)
--- a/Make
+++ b/Make
@@ -287,7 +287,9 @@ ${make-make} \
      $jobs \
      ETC_GITCONFIG=$prefix/etc/gitconfig \
      ${DEVELOPER:+"DEVELOPER=YesPlease"} \
-     CFLAGS="-g -Wall -Wdeclaration-after-statement -std=gnu99${O:+ $O}" \
+     SPATCH_FLAGS="--all-includes --recursive-includes --patch ." \
+     SPATCH_BATCH_SIZE=16 \
+     CFLAGS="-g -Wall -Wunused -Wdeclaration-after-statement -std=gnu99${O:+ $O}" \
      ${tests:+"T=$tests"} \
      "$@"
 status=$?