diff options
author | Karel Zak | 2015-08-04 13:40:44 +0200 |
---|---|---|
committer | Karel Zak | 2015-08-04 13:40:44 +0200 |
commit | 2c6567799debe6017b1a1e1f5695fbe632545521 (patch) | |
tree | 1bfe40ffa880df25d50d5ae9102634bde87bda3b /libmount/src/version.c | |
parent | libmount: cleanup assert() usage (diff) | |
download | kernel-qcow2-util-linux-2c6567799debe6017b1a1e1f5695fbe632545521.tar.gz kernel-qcow2-util-linux-2c6567799debe6017b1a1e1f5695fbe632545521.tar.xz kernel-qcow2-util-linux-2c6567799debe6017b1a1e1f5695fbe632545521.zip |
build-sys: add --disable-assert
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/version.c')
-rw-r--r-- | libmount/src/version.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/version.c b/libmount/src/version.c index 28f3a574b..d81d4323f 100644 --- a/libmount/src/version.c +++ b/libmount/src/version.c @@ -25,8 +25,8 @@ static const char *lib_features[] = { #ifdef HAVE_SMACK "smack", #endif -#ifdef CONFIG_LIBMOUNT_ASSERT - "assert", +#if !defined(NDEBUG) + "assert", /* libc assert.h stuff */ #endif "debug", /* always enabled */ NULL |