]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Makefile: correct example fuzz build
authorJosh Steadmon <steadmon@google.com>
Tue, 15 Jan 2019 22:25:52 +0000 (14:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jan 2019 04:32:00 +0000 (20:32 -0800)
commit8b7c2eee7d2e6470a6d5484614e491d4a4571d09
treef63e39a9c4d9be57b380adf957f63422090bd2e6
parentd2b86fbaa1f6c0606330caf3cc3fdf8984ddc66a
Makefile: correct example fuzz build

The comment explaining how to build the fuzzers was broken in
927c77e7d4d ("Makefile: use FUZZ_CXXFLAGS for linking fuzzers",
2018-11-14).

When building fuzzers, all .c files must be compiled with coverage
tracing enabled. This is not possible when using only FUZZ_CXXFLAGS, as
that flag is only applied to the fuzzers themselves. Switching back to
CFLAGS fixes the issue.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile