summaryrefslogtreecommitdiff
path: root/docs/fuzzing.md
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-09-26 22:06:49 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2021-10-17 13:05:32 -0400
commit4e14d4c6a6d4629601cc7e1659df85eeb450df10 (patch)
tree3d232ff4acf836703620faa6a7bd6059c3d4f761 /docs/fuzzing.md
parente61abdce434e17104b40c09b34094e2d571ba9e9 (diff)
downloadlibgit2-4e14d4c6a6d4629601cc7e1659df85eeb450df10.tar.gz
cmake: BUILD_CLAR is now BUILD_TESTSethomson/clar_no_more
Nobody knows what CLAR is. The test building option should be `BUILD_TESTS`.
Diffstat (limited to 'docs/fuzzing.md')
-rw-r--r--docs/fuzzing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/fuzzing.md b/docs/fuzzing.md
index 25b32cb04..2bf4ccca9 100644
--- a/docs/fuzzing.md
+++ b/docs/fuzzing.md
@@ -19,7 +19,7 @@ automated fuzz testing. libFuzzer only works with clang.
and [`leak`/`address,leak`](https://clang.llvm.org/docs/LeakSanitizer.html).
3. Create the cmake build environment and configure the build with the
sanitizer chosen: `CC=/usr/bin/clang-6.0 CFLAGS="-fsanitize=address" cmake
- -DBUILD_CLAR=OFF -DBUILD_FUZZERS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..`.
+ -DBUILD_TESTS=OFF -DBUILD_FUZZERS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo ..`.
Note that building the fuzzer targets is incompatible with the
tests and examples.
4. Build libgit2: `cmake --build .`