aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-01-20 11:59:47 -0800
committerBrian Behlendorf <[email protected]>2009-01-20 11:59:47 -0800
commit15270e003ed666ad965ab9f73b390846823998fd (patch)
tree86eb65b8e52de684f528f1b305169f198e52a118 /config
parent5566ec0959a17776265204d24a186ffeb09cee7f (diff)
Ensure -NDEBUG does not get added to spl_config.h and is only set in the build options. This allows other kernel modules to use spl_config to leverage the reset of the config checks without getting confused with the debug options
Diffstat (limited to 'config')
-rw-r--r--config/spl-build.m42
1 files changed, 0 insertions, 2 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index c5c031977..993133065 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -97,8 +97,6 @@ AC_DEFUN([SPL_AC_DEBUG], [
KERNELCPPFLAGS="${KERNELCPPFLAGS} -DDEBUG"
else
AC_MSG_RESULT([no])
- AC_DEFINE([NDEBUG], [1],
- [Define to 1 to disable debug tracing])
KERNELCPPFLAGS="${KERNELCPPFLAGS} -DNDEBUG"
fi
])