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
0001-newlib-libm-fix-__RCSID-build-error.patch
0002-newlib-libm-remove-include-reent.h.patch
0003-newlib-fix-compilation-for-x86.patch
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