diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-03-02 20:12:18 +0100 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-03-02 20:12:18 +0100 |
commit | 51a4c252f4ea4750becf864a4210fd76c5fb190e (patch) | |
tree | 79cfa0359556023bbf06050c0d6c3dd8b65f1742 /configure.ac | |
parent | f0b19987039b9f5dc337a8ab9287a4406ea273a0 (diff) |
add --enable-asan
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3c5a370f..e267ae93 100644 --- a/configure.ac +++ b/configure.ac @@ -48,6 +48,10 @@ dnl --------------------------------------------------------------------- AC_ARG_ENABLE(gcov, [ --enable-gcov Enable source code coverage testing using gcov], [AM_CFLAGS="${AM_CFLAGS} -coverage"]) + +AC_ARG_ENABLE(asan, + [ --enable-asan asan], + [AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"]) dnl --------------------------------------------------------------------- dnl Disable window mode dnl --------------------------------------------------------------------- |