llvm-project
543932f0 - [libc] Make LIBC_MATH_NO_ERRNO imply `-fno-math-errno` (#125794)

Commit
21 days ago
[libc] Make LIBC_MATH_NO_ERRNO imply `-fno-math-errno` (#125794) This partially reverts #124200. Rather than using a CMake option to control whether to enable `-fno-math-errno`, use LIBC_MATH_NO_ERRNO configuration option. While there might be other cases when we want to set `-fno-math-errno`, having LIBC_MATH_NO_ERRNO imply it should be always safe and represents a reasonable starting point.
Author
Parents
Loading