mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-23 18:26:34 +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"
|
||||
then
|
||||
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic"
|
||||
CFLAGS="$CFLAGS -g -Wall -DDEBUG -pedantic -O0 -ggdb"
|
||||
fi
|
||||
AC_SUBST([DEBUG_CFLAGS])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user