Update README.md with ./configure examples

This commit is contained in:
William Robinet 2020-08-30 21:19:28 +02:00
parent 3518115da9
commit 901fa19b2c

View file

@ -59,6 +59,15 @@ Optional configuration features (aka ./configure options):
use libasan with GCC and embedded ASAN with Clang use libasan with GCC and embedded ASAN with Clang
``` ```
Configuration examples:
```
- Use GCC with libasan, debug info and custom CFLAGS:
./configure CC=/usr/bin/gcc --enable-asan --enable-debug CFLAGS="-Wall"
- Use Clang with ASAN and no optimizations (-O0)
./configure CC=/usr/bin/clang --enable-asan --disable-optimization
```
## 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