* README.git: Fix compiler options for ASAN

This commit is contained in:
Paul Smith 2022-02-27 15:14:12 -05:00
parent 236589642e
commit 0de7b74896

View file

@ -186,7 +186,7 @@ work on non-GNU systems (Windows, MacOS, etc.)
You can build with ASAN and run tests, like this:
make clean
make -j8 CFLAGS='-ggdb3 -fsanitizer=address' LDFLAGS='-ggdb3 -fsanitizer=address'
make -j8 CFLAGS='-ggdb3 -fsanitize=address' LDFLAGS='-ggdb3 -fsanitize=address'
(cd tests && ./run_make_tests -make ../make)
Note that ASAN is reporting many more errors than valgrind. I don't know