[Lldb-commits] [lldb] [lldb/cmake] Remove a no-op statement (PR #141063)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu May 22 07:01:58 PDT 2025


================
@@ -93,13 +93,6 @@ function(add_lldb_library name)
     set(libkind STATIC)
   endif()
 
-  #PIC not needed on Win
-  # FIXME: Setting CMAKE_CXX_FLAGS here is a no-op, use target_compile_options
----------------
DavidSpickett wrote:

Sounds reasonable, I've been bitten by distro compilers deciding to enable PIC or not after an upgrade. Leave it to them to decide.

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


More information about the lldb-commits mailing list