From 901fa19b2c8b5a2f617e888f11c2347378758d3d Mon Sep 17 00:00:00 2001 From: William Robinet Date: Sun, 30 Aug 2020 21:19:28 +0200 Subject: [PATCH] Update README.md with ./configure examples --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index fbfb87b..7688fa6 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,15 @@ Optional configuration features (aka ./configure options): 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 The contributing policy is simple. If you have a patch to propose, make a pull-request