[libc-commits] [libc] [libc] Make LIBC_MATH_NO_ERRNO imply `-fno-math-errno` (PR #125794)

via libc-commits libc-commits at lists.llvm.org
Tue Feb 4 21:10:03 PST 2025


================
@@ -71,6 +64,9 @@ function(_get_compile_options_from_flags output_var)
              "SHELL:-Xclang -target-feature -Xclang +fullfp16")
       endif()
     endif()
+    if(LIBC_CONF_MATH_OPTIMIZATIONS MATCHES "LIBC_MATH_NO_ERRNO")
----------------
lntue wrote:

Can you move this to L101-ish, where `LIBC_CONF_MATH_OPTIMIZATIONS` is checked?

https://github.com/llvm/llvm-project/pull/125794


More information about the libc-commits mailing list