File 0000-remove-lld-in-cmakelist.patch of Package zig

We invoke LLD so we also commented/remove it out as well.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 92be8fb..e19d18e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,7 +136,7 @@
 
 find_package(llvm 17)
 find_package(clang 17)
-find_package(lld 17)
+# find_package(lld 17)
 
 if(ZIG_STATIC_ZLIB)
     if (MSVC)
@@ -183,7 +183,7 @@
 endforeach(CONFIG_TYPE CMAKE_CONFIGURATION_TYPES)
 
 include_directories(${LLVM_INCLUDE_DIRS})
-include_directories(${LLD_INCLUDE_DIRS})
+# include_directories(${LLD_INCLUDE_DIRS})
 include_directories(${CLANG_INCLUDE_DIRS})
 
 find_package(Threads)
@@ -707,7 +707,7 @@
 
 target_link_libraries(zigcpp LINK_PUBLIC
     ${CLANG_LIBRARIES}
-    ${LLD_LIBRARIES}
+    # ${LLD_LIBRARIES}
     ${LLVM_LIBRARIES}
     ${CMAKE_THREAD_LIBS_INIT}
 )
openSUSE Build Service is sponsored by