mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
parent
e570fd76c3
commit
f45567e3b7
1 changed files with 7 additions and 4 deletions
11
configure.ac
11
configure.ac
|
@ -64,10 +64,13 @@ AC_ARG_ENABLE([gcov],
|
||||||
[AS_HELP_STRING ([--enable-gcov],[Enable source code coverage testing using gcov])],
|
[AS_HELP_STRING ([--enable-gcov],[Enable source code coverage testing using gcov])],
|
||||||
[AM_CFLAGS="${AM_CFLAGS} -coverage"])
|
[AM_CFLAGS="${AM_CFLAGS} -coverage"])
|
||||||
AS_IF([test "x${enable_gcov}" = "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])])
|
AS_IF([test "x${enable_gcov}" = "xyes" ], [AC_DEFINE([ENABLE_GCOV], [1], [Enable gcov profiling])])
|
||||||
AC_ARG_ENABLE([asan],
|
|
||||||
[AS_HELP_STRING ([--enable-asan],[Enable asan support])],
|
AC_ARG_ENABLE([asan], [AS_HELP_STRING ([--enable-asan],[Enable asan support])])
|
||||||
[AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"])
|
AS_IF([test "x${enable_asan}" = "xyes" ], [
|
||||||
AS_IF([test "x${enable_asan}" = "xyes" ], [AC_DEFINE([ENABLE_ASAN], [1], [Enable libasan])])
|
AC_DEFINE([ENABLE_ASAN], [1], [Enable libasan])
|
||||||
|
AM_CFLAGS="${AM_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -g3"]
|
||||||
|
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl --------------------------------------------------------------------
|
dnl --------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue