diff options
author | Max Kellermann <max@duempel.org> | 2011-09-16 07:31:06 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-16 07:41:41 +0200 |
commit | 443e96381a0e24d9c22578ba6f7fb96de1814994 (patch) | |
tree | 54fbf24b6ee23afd86443ab79a9b64271ff8d3a5 | |
parent | 1cbba4fc592654dc3a2a1fe337ed699d6a102b09 (diff) | |
download | mpd-443e96381a0e24d9c22578ba6f7fb96de1814994.tar.gz mpd-443e96381a0e24d9c22578ba6f7fb96de1814994.tar.xz mpd-443e96381a0e24d9c22578ba6f7fb96de1814994.zip |
configure.ac: disable assertions in the non-debugging build
Add -DNDEBUG to AM_CPPFLAGS.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,5 @@ ver 0.16.5 (2010/??/??) +* configure.ac: disable assertions in the non-debugging build * pcm_format: fix 32-to-24 bit conversion (the "silence" bug) * input: - rewind: reduce heap usage diff --git a/configure.ac b/configure.ac index 1c0a38ce1..9a9576271 100644 --- a/configure.ac +++ b/configure.ac @@ -1451,10 +1451,9 @@ dnl CFLAGS dnl --------------------------------------------------------------------------- dnl ---------------------------------- debug ---------------------------------- -#if test "x$enable_debug" = xno; then - # don't set NDEBUG for now, until MPD is stable - #AM_CFLAGS="$AM_CFLAGS -DNDEBUG" -#fi +if test "x$enable_debug" = xno; then + AM_CPPFLAGS="$AM_CPPFLAGS -DNDEBUG" +fi dnl ----------------------------------- GCC ----------------------------------- if test x$GCC = xyes |