incubator-nuttx/libs/libm/newlib
p-szafonimateusz c932fe3045 libm/newlib: disable optimization for sincos
Disable sincos optimization for all functions in this file,
otherwise gcc would generate infinite calls.
Refer to gcc bug 46926.
-fno-builtin-sin or -fno-builtin-cos can disable sincos optimization,
but these two options do not work inside optimize pragma in-file.
Thus we just enforce -O0 when compiling this file.

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
2024-06-28 01:26:18 +08:00
..
include
.gitignore libm: ignore git submodules 2023-09-07 11:27:00 +03:00
0001-newlib-libm-fix-__RCSID-build-error.patch
0002-newlib-libm-remove-include-reent.h.patch
0003-newlib-fix-compilation-for-x86.patch newlib: fix support for x86 2024-02-26 23:56:47 +08:00
0004-newlib-disable-optmisation-for-sincos.patch libm/newlib: disable optimization for sincos 2024-06-28 01:26:18 +08:00
CMakeLists.txt libm/newlib: disable optimization for sincos 2024-06-28 01:26:18 +08:00
Kconfig
Make.defs libm/newlib: disable optimization for sincos 2024-06-28 01:26:18 +08:00
sincosl.c libm/newlib: disable optimization for sincos 2024-06-28 01:26:18 +08:00