[libc-commits] [llvm] [lldb] [lld] [libc] [clang] [libcxx] [flang] [CMAKE] Enable FatLTO as a build option for LLVM (PR #80480)

Paul Kirth via libc-commits libc-commits at lists.llvm.org
Fri Feb 2 12:59:30 PST 2024


================
@@ -1251,6 +1253,10 @@ elseif(LLVM_ENABLE_LTO)
   endif()
 endif()
 
+if(LLVM_ENABLE_FATLTO AND (FUCHSIA OR UNIX))
+    append("-ffat-lto-objects" CMAKE_EXE_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS)
----------------
ilovepi wrote:

Dang, I thought I had done that. That's probably why I'm seeing an odd result. Thank you.

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


More information about the libc-commits mailing list