libc/assert: let CONFIG_NDEBUG default to !CONFIG_DEBUG_ASSERTIONS
so the user could just change CONFIG_DEBUG_ASSERTIONS in most case Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
577f301a2c
commit
bbdbca00c1
2
Kconfig
2
Kconfig
@ -559,7 +559,7 @@ menu "Debug Options"
|
||||
|
||||
config NDEBUG
|
||||
bool "Define NDEBUG globally"
|
||||
default y
|
||||
default !DEBUG_ASSERTIONS
|
||||
|
||||
config DEBUG_ALERT
|
||||
bool
|
||||
|
@ -6,7 +6,6 @@
|
||||
# modifications.
|
||||
#
|
||||
# CONFIG_DISABLE_OS_API is not set
|
||||
# CONFIG_NDEBUG is not set
|
||||
# CONFIG_NSH_DISABLE_LOSMART is not set
|
||||
CONFIG_ARCH="risc-v"
|
||||
CONFIG_ARCH_BOARD="icicle"
|
||||
|
Loading…
Reference in New Issue
Block a user