Always build with DEBUG and enable assertions.
This commit is contained in:
parent
8d5c48b861
commit
0db47cff9c
3
configure
vendored
3
configure
vendored
@ -200,9 +200,10 @@ fi
|
||||
if [ -n "$DEBUG" -a "$DEBUG" != no -a "$DEBUG" != false ]; then
|
||||
echo "Building with debugging symbols."
|
||||
echo "CFLAGS += -g" >>$CONFIG_MK
|
||||
echo "CPPFLAGS += -DDEBUG" >>$CONFIG_MK
|
||||
fi
|
||||
|
||||
echo "CPPFLAGS += -DDEBUG" >>$CONFIG_MK
|
||||
|
||||
case "$OS" in
|
||||
linux)
|
||||
echo "CPPFLAGS += -D_XOPEN_SOURCE=700" >>$CONFIG_MK
|
||||
|
@ -27,10 +27,6 @@
|
||||
#ifndef _XBPS_API_IMPL_H_
|
||||
#define _XBPS_API_IMPL_H_
|
||||
|
||||
#ifndef DEBUG
|
||||
#define NDEBUG
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <confuse.h>
|
||||
#define LIBXBPS_PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user