mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-10 17:43:49 +00:00
Disable compiler code optimizations and turn on gdb support when --enable-debug is passed to configure.
This commit is contained in:
@@ -57,7 +57,7 @@ AC_MSG_RESULT($enable_debug)
|
|||||||
|
|
||||||
if test x"$enable_debug" = "xyes"
|
if test x"$enable_debug" = "xyes"
|
||||||
then
|
then
|
||||||
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic"
|
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic -O0 -ggdb"
|
||||||
fi
|
fi
|
||||||
AC_SUBST([DEBUG_CFLAGS])
|
AC_SUBST([DEBUG_CFLAGS])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user