diff options
author | David Seifert <soap@gentoo.org> | 2017-01-15 10:37:02 +0100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2017-01-19 20:47:26 +1100 |
commit | b3ece71334540aa35de30c821ae83acc1c503b01 (patch) | |
tree | c0d12f29ab6c80e1b7ae6ce8b63c1c50cc754dc2 /include | |
parent | 09b8224804545338b66aa985c0f9eba949e0ede5 (diff) | |
download | flac-b3ece71334540aa35de30c821ae83acc1c503b01.tar.gz |
Do not override CFLAGS, as CFLAGS is a user flag.
* Furthermore, use NDEBUG globally to detect the presence
of building with more debug output information.
AX_CHECK_ENABLE_DEBUG is easier to use, and nowadays
Gnome has also switched to it from its own custom solution.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/FLAC/assert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/FLAC/assert.h b/include/FLAC/assert.h index b546fd07..55b34777 100644 --- a/include/FLAC/assert.h +++ b/include/FLAC/assert.h @@ -34,7 +34,7 @@ #define FLAC__ASSERT_H /* we need this since some compilers (like MSVC) leave assert()s on release code (and we don't want to use their ASSERT) */ -#ifdef DEBUG +#ifndef NDEBUG #include <assert.h> #define FLAC__ASSERT(x) assert(x) #define FLAC__ASSERT_DECLARATION(x) x |