From f293c6661e9d9cfbc770e848bc194f256f6c2f26 Mon Sep 17 00:00:00 2001 From: fef Date: Mon, 10 Oct 2022 08:20:34 +0200 Subject: [PATCH] enable debug features by default if DEBUG is on --- .gitignore | 1 + options.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0d65b30..35597e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ build/ +cmake-build-*/ .vscode/.* diff --git a/options.cmake b/options.cmake index d9b72f2..e630f4b 100644 --- a/options.cmake +++ b/options.cmake @@ -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") -option(CONFIG_CHECK_SYSCALL_SOURCE "Prohibit inline syscalls" OFF) +option(CONFIG_CHECK_SYSCALL_SOURCE "Prohibit inline syscalls" ${DEBUG}) # This file is part of Ardix. # Copyright (c) 2021 Felix Kopp .