summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-12-21 15:03:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-21 15:03:15 -0800
commit5a4069a1d86d98e3ba3f6aa748b5ad323983c420 (patch)
tree925e77e33b158fd922810e8cdc28ac963457030b /Makefile
parentMerge branch 'pw/xdiff-classify-record-in-histogram' (diff)
parentrevision: use C99 declaration of variable in for() loop (diff)
downloadtgif-5a4069a1d86d98e3ba3f6aa748b5ad323983c420.tar.xz
Merge branch 'jc/c99-var-decl-in-for-loop'
Weather balloon to find compilers that do not grok variable declaration in the for() loop. * jc/c99-var-decl-in-for-loop: revision: use C99 declaration of variable in for() loop
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c00a793e4..c8c2eca680 100644
--- a/Makefile
+++ b/Makefile
@@ -1206,6 +1206,7 @@ endif
# Set CFLAGS, LDFLAGS and other *FLAGS variables. These might be
# tweaked by config.* below as well as the command-line, both of
# which'll override these defaults.
+# Older versions of GCC may require adding "-std=gnu99" at the end.
CFLAGS = -g -O2 -Wall
LDFLAGS =
CC_LD_DYNPATH = -Wl,-rpath,