From febfec2b3cfa1f82198b965ca5333f158a92d76d Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Mon, 11 Sep 2017 22:03:49 +0000 Subject: [PATCH] Fix MinGW/CMakeLists.txt. We do not use "Shim" as a name of MinGW driver, so rename it MinGW. I don't think the former dependency list was correct. MinGW driver depends on COFF. llvm-svn: 312960 --- lld/MinGW/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lld/MinGW/CMakeLists.txt b/lld/MinGW/CMakeLists.txt index 32992bc30a92..1801217002f2 100644 --- a/lld/MinGW/CMakeLists.txt +++ b/lld/MinGW/CMakeLists.txt @@ -1,6 +1,6 @@ set(LLVM_TARGET_DEFINITIONS Options.td) tablegen(LLVM Options.inc -gen-opt-parser-defs) -add_public_tablegen_target(ShimOptionsTableGen) +add_public_tablegen_target(MinGWOptionsTableGen) if(NOT LLD_BUILT_STANDALONE) set(tablegen_deps intrinsics_gen) @@ -10,11 +10,10 @@ add_lld_library(lldMinGW Driver.cpp LINK_LIBS - lldConfig - lldCore + lldCOFF ${LLVM_PTHREAD_LIB} DEPENDS - ShimOptionsTableGen + MinGWOptionsTableGen ${tablegen_deps} )