LibC: strlen had to be marked not optimized...

This commit is contained in:
Bananymous 2023-12-19 11:27:00 +02:00
parent 637397dd2f
commit 3352640d09
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ char* strndup(const char* str, size_t size)
}
#endif
__attribute__((optimize("-O0")))
size_t strlen(const char* str)
{
size_t len = 0;