LibC: strlen had to be marked not optimized...
This commit is contained in:
parent
637397dd2f
commit
3352640d09
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue