LibC: Remove global -fno-tree-loop-distribute-patterns flag

This is only really needed for string.cpp where mem* and str* functions
are defined
This commit is contained in:
2025-01-14 18:35:33 +02:00
parent 4b2c303873
commit d62a67502e
2 changed files with 5 additions and 1 deletions

View File

@@ -52,7 +52,7 @@ set(LIBC_SOURCES
add_library(objlibc OBJECT ${LIBC_SOURCES})
target_compile_definitions(objlibc PRIVATE __arch=${BANAN_ARCH})
target_compile_options(objlibc PRIVATE -O2 -g -Wstack-usage=512 -fno-tree-loop-distribute-patterns -fno-exceptions -fpic -nolibc)
target_compile_options(objlibc PRIVATE -O2 -g -Wstack-usage=512 -fno-exceptions -fpic -nolibc)
target_compile_options(objlibc PUBLIC -Wall -Wextra -Werror -Wno-error=stack-usage=)
function(add_crtx crtx)