Skip to content

Commit fa4fa88

Browse files
author
MarcoFalke
committed
doc: Remove --disable-ccache from docs
1 parent 31b2ce7 commit fa4fa88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/fuzzing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ For macOS you may need to ignore x86 compilation checks when running `make`:
5252
To build Bitcoin Core using AFL instrumentation (this assumes that the
5353
`AFLPATH` was set as above):
5454
```
55-
./configure --disable-ccache --disable-shared --enable-tests --enable-fuzz CC=${AFLPATH}/afl-gcc CXX=${AFLPATH}/afl-g++
55+
./configure --disable-shared --enable-tests --enable-fuzz CC=${AFLPATH}/afl-gcc CXX=${AFLPATH}/afl-g++
5656
export AFL_HARDEN=1
5757
make
5858
```
5959

6060
If you are using clang you will need to substitute `afl-gcc` with `afl-clang`
6161
and `afl-g++` with `afl-clang++`, so the first line above becomes:
6262
```
63-
./configure --disable-ccache --disable-shared --enable-tests --enable-fuzz CC=${AFLPATH}/afl-clang CXX=${AFLPATH}/afl-clang++
63+
./configure --disable-shared --enable-tests --enable-fuzz CC=${AFLPATH}/afl-clang CXX=${AFLPATH}/afl-clang++
6464
```
6565

6666
We disable ccache because we don't want to pollute the ccache with instrumented
@@ -102,7 +102,7 @@ libFuzzer is needed (all found in the `compiler-rt` runtime libraries package).
102102
To build all fuzz targets with libFuzzer, run
103103

104104
```
105-
./configure --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=clang CXX=clang++
105+
./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=clang CXX=clang++
106106
make
107107
```
108108

@@ -134,5 +134,5 @@ clang does not come first in your path.
134134

135135
Full configure that was tested on macOS Catalina with `brew` installed `llvm`:
136136
```
137-
./configure --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm
137+
./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm
138138
```

0 commit comments

Comments
 (0)