diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-21 15:03:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-21 15:03:15 -0800 |
commit | 5a4069a1d86d98e3ba3f6aa748b5ad323983c420 (patch) | |
tree | 925e77e33b158fd922810e8cdc28ac963457030b /Makefile | |
parent | a0f5ca94dd27fb3636bddde251ce3db0a18fc49e (diff) | |
parent | 44ba10d6712268d6a76557b054b0d16b75c9501f (diff) |
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-- | Makefile | 1 |
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, |