Commit 46304befecb0b77a7f496841a1229c6c92e331e1
1 parent
79f6b482
Use clang for sanitizers
Clang seems to be slightly stricter than gcc.
Showing
1 changed file
with
1 additions
and
0 deletions
README-maintainer
| @@ -15,6 +15,7 @@ Memory checks: | @@ -15,6 +15,7 @@ Memory checks: | ||
| 15 | ./configure CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ | 15 | ./configure CFLAGS="-fsanitize=address -fsanitize=undefined -g" \ |
| 16 | CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ | 16 | CXXFLAGS="-fsanitize=address -fsanitize=undefined -g" \ |
| 17 | LDFLAGS="-fsanitize=address -fsanitize=undefined" \ | 17 | LDFLAGS="-fsanitize=address -fsanitize=undefined" \ |
| 18 | + CC=clang CXX=clang++ \ | ||
| 18 | --enable-werror --disable-shared | 19 | --enable-werror --disable-shared |
| 19 | 20 | ||
| 20 | GOOGLE OSS-FUZZ | 21 | GOOGLE OSS-FUZZ |