Update README.md with ./configure options

This commit is contained in:
William Robinet 2020-08-30 21:11:52 +02:00
parent eeb45211fe
commit 3518115da9

View file

@ -50,6 +50,15 @@ make
(optional) make install (optional) make install
``` ```
Optional configuration features (aka ./configure options):
```
--disable-optimization disable compiler optimizations (change from -O2 to -O0)
--enable-debug enable debug info (add "-g -DDEBUG" to CFLAGS)
--enable-asan enable AddressSanitizer and other checks
add "-fsanitize=address,undefined,leak -Wformat -Werror=format-security -Werror=array-bounds" to CFLAGS
use libasan with GCC and embedded ASAN with Clang
```
## Contributing ## Contributing
The contributing policy is simple. If you have a patch to propose, make a pull-request The contributing policy is simple. If you have a patch to propose, make a pull-request