Commit 8bcbab84 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

set CFLAGS when enabling the debug option

parent 5ef19bf7
......@@ -40,6 +40,7 @@ AC_ARG_ENABLE(debug,
[ENABLE_DEBUG=no])
if test x$ENABLE_DEBUG = xyes; then
AC_DEFINE(DEBUG, 1, [enable compilation of debugging messages])
CFLAGS="-g -O0"
fi
AC_ARG_ENABLE(run_in_place,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment