enable debug features by default if DEBUG is on

This commit is contained in:
anna 2022-10-10 08:20:34 +02:00
parent 4177931774
commit f293c6661e
Signed by: fef
GPG key ID: EC22E476DC2D3D84
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
build/ build/
cmake-build-*/
.vscode/.* .vscode/.*

View file

@ -27,7 +27,7 @@ set(CONFIG_SERIAL_BUFSZ 256 CACHE STRING "Default serial buffer size in bytes")
set(CONFIG_PRINTF_BUFSZ 64 CACHE STRING "Default buffer size for printf() and friends") set(CONFIG_PRINTF_BUFSZ 64 CACHE STRING "Default buffer size for printf() and friends")
option(CONFIG_CHECK_SYSCALL_SOURCE "Prohibit inline syscalls" OFF) option(CONFIG_CHECK_SYSCALL_SOURCE "Prohibit inline syscalls" ${DEBUG})
# This file is part of Ardix. # This file is part of Ardix.
# Copyright (c) 2021 Felix Kopp <owo@fef.moe>. # Copyright (c) 2021 Felix Kopp <owo@fef.moe>.