Enable assertions by default, even with --debug disabled.

This commit is contained in:
Juan RP 2012-03-12 11:22:18 +01:00
parent 48c36602a5
commit 35c2e2a75d
2 changed files with 3 additions and 3 deletions

3
NEWS
View File

@ -4,6 +4,9 @@ xbps-0.15 (???):
file not modified". When extracting package files, always set
permissions from binary package, even if file has not been modified.
* Enabled assertions by default even if --debug not enabled. We want
to enforce correct behaviour even in release builds.
xbps-0.14 (2012-02-28):
* Fixed 'xbps-bin reconfigure all' (regression added in 0.13).

View File

@ -27,9 +27,6 @@
#ifndef _XBPS_API_IMPL_H_
#define _XBPS_API_IMPL_H_
#ifndef DEBUG
# define NDEBUG
#endif
#include <assert.h>
#include <xbps_api.h>
#include "compat.h"