[llvm] f9486f2 - [LoongArch] Fix shared build. NFC.

Michael Liao via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 21:21:48 PDT 2022


Author: Michael Liao
Date: 2022-04-15T00:21:28-04:00
New Revision: f9486f213975ffdcf794036d0785f594d13ad612

URL: https://github.com/llvm/llvm-project/commit/f9486f213975ffdcf794036d0785f594d13ad612
DIFF: https://github.com/llvm/llvm-project/commit/f9486f213975ffdcf794036d0785f594d13ad612.diff

LOG: [LoongArch] Fix shared build. NFC.

Added: 
    

Modified: 
    llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt b/llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt
index f53ddba400502..e14360ff555e3 100644
--- a/llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt
+++ b/llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt
@@ -2,6 +2,7 @@ add_llvm_component_library(LLVMLoongArchInfo
   LoongArchTargetInfo.cpp
 
   LINK_COMPONENTS
+  MC
   Support
 
   ADD_TO_COMPONENT


        


More information about the llvm-commits mailing list