MSYS2-packages/llvm/0001-hack-tablegentest.patch
Jeremy Drake 0586ad6beb llvm: update to 21.1.0
add an msysize patch to deal with the fallout of teaching the Cygwin
driver how to call the linker directly instead of using GCC to do it
2025-08-27 17:57:40 -07:00

21 lines
485 B
Diff

--- a/llvm/unittests/TableGen/CMakeLists.txt
+++ b/llvm/unittests/TableGen/CMakeLists.txt
@@ -1,7 +1,7 @@
-set(LLVM_LINK_COMPONENTS
- TableGen
- Support
- )
+#set(LLVM_LINK_COMPONENTS
+# TableGen
+# Support
+# )
set(LLVM_TARGET_DEFINITIONS Automata.td)
@@ -15,4 +15,4 @@
ParserEntryPointTest.cpp
)
-target_link_libraries(TableGenTests PRIVATE LLVMTableGenCommon LLVMTableGen)
+target_link_libraries(TableGenTests PRIVATE LLVMTableGenCommon LLVMTableGen LLVMSupport)