]> granicus.if.org Git - esp-idf/commit
newlib: disable some optimizations for syscalls.c
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 22 Nov 2018 04:19:49 +0000 (12:19 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Thu, 22 Nov 2018 04:19:49 +0000 (12:19 +0800)
commit8deb885ce3a19b3adef5cc706dca48fa77ad8b76
tree0534bccb854432d6deaa63b82541e082829dae26
parent0d7f2d77c2eee51dce3fa7c8430a641c65cd9719
newlib: disable some optimizations for syscalls.c

Don’t allow the compiler to convert malloc + memset into calloc,
causing a recursive call in _calloc_r. Fixes crash when building with
-O2 optimization level.
components/newlib/CMakeLists.txt
components/newlib/component.mk