From: NAKAMURA Takumi Date: Sun, 12 Jul 2015 12:17:55 +0000 (+0000) Subject: Tweak libclang's users, c-arcmt-test, c-index-test and libclangTests to satisfy LDFLA... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6e98d6837549d53728315c6d64d5194c6248bd2;p=clang Tweak libclang's users, c-arcmt-test, c-index-test and libclangTests to satisfy LDFLAGS=-static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241992 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/c-arcmt-test/Makefile b/tools/c-arcmt-test/Makefile index 2e9e449a6e..03e0c9e58c 100644 --- a/tools/c-arcmt-test/Makefile +++ b/tools/c-arcmt-test/Makefile @@ -24,13 +24,17 @@ include $(CLANG_LEVEL)/../../Makefile.config LINK_COMPONENTS := $(TARGETS_TO_BUILD) \ AsmParser \ BitReader \ + BitWriter \ + IPO \ MC \ + ObjCARCOpts \ Option \ Support # Note that 'USEDLIBS' must include all of the core clang libraries # when -static is given to linker on cygming. USEDLIBS = clang.a \ + clangCodeGen.a \ clangARCMigrate.a \ clangIndex.a \ clangFormat.a \ diff --git a/tools/c-index-test/Makefile b/tools/c-index-test/Makefile index 2b79e66061..b757b47795 100644 --- a/tools/c-index-test/Makefile +++ b/tools/c-index-test/Makefile @@ -25,13 +25,17 @@ include $(CLANG_LEVEL)/../../Makefile.config LINK_COMPONENTS := $(TARGETS_TO_BUILD) \ AsmParser \ BitReader \ + BitWriter \ + IPO \ MC \ + ObjCARCOpts \ Option \ Support # Note that 'USEDLIBS' must include all of the core clang libraries # when -static is given to linker on cygming. USEDLIBS = clang.a \ + clangCodeGen.a \ clangIndex.a clangFormat.a clangRewrite.a \ clangFrontend.a clangDriver.a \ clangTooling.a \ diff --git a/unittests/libclang/Makefile b/unittests/libclang/Makefile index 82fa0f9a7c..037dea34d2 100644 --- a/unittests/libclang/Makefile +++ b/unittests/libclang/Makefile @@ -15,13 +15,17 @@ include $(CLANG_LEVEL)/../../Makefile.config LINK_COMPONENTS := $(TARGETS_TO_BUILD) \ AsmParser \ BitReader \ + BitWriter \ + IPO \ MC \ + ObjCArcOpts \ Option \ Support # Note that 'USEDLIBS' must include all of the core clang libraries # when -static is given to linker on cygming. USEDLIBS = clang.a \ + clangCodeGen.a \ clangIndex.a clangFormat.a clangRewrite.a \ clangFrontend.a clangDriver.a \ clangTooling.a \