LibC: Don't complain about stack size until 8192 bytes

It was unnecessary as userspace stack is way bigger than that...
This commit is contained in:
2026-04-17 21:18:20 +03:00
parent e6284c3cf3
commit a24ec0da2b

View File

@@ -76,7 +76,7 @@ set(LIBC_SOURCES
add_library(objlibc OBJECT ${LIBC_SOURCES})
target_compile_definitions(objlibc PRIVATE __arch=${BANAN_ARCH} __is_libc)
target_compile_options(objlibc PRIVATE -O2 -g -Wstack-usage=512 -fno-exceptions -fno-rtti -fpic)
target_compile_options(objlibc PRIVATE -O2 -g -Wstack-usage=8192 -fno-exceptions -fno-rtti -fpic)
target_compile_options(objlibc PUBLIC -Wall -Wextra -Werror -Wno-error=stack-usage=)
function(add_crtx crtx)