[libc-commits] [libc] [libc] Use `${libc_opt_high_flag}` instead of `-O3` (PR #123233)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Jan 17 09:31:38 PST 2025


================
@@ -534,7 +534,7 @@ add_entrypoint_object(
     libc.src.__support.macros.optimization
     libc.src.__support.macros.properties.types
   COMPILE_OPTIONS
-    -O3
+    ${libc_opt_high_flag}
----------------
nickdesaulniers wrote:

Why would they be incorrect based on optimization level?

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


More information about the libc-commits mailing list