r241992 - Tweak libclang's users, c-arcmt-test, c-index-test and libclangTests to satisfy LDFLAGS=-static.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jul 12 05:17:55 PDT 2015


Author: chapuni
Date: Sun Jul 12 07:17:55 2015
New Revision: 241992

URL: http://llvm.org/viewvc/llvm-project?rev=241992&view=rev
Log:
Tweak libclang's users, c-arcmt-test, c-index-test and libclangTests to satisfy LDFLAGS=-static.

Modified:
    cfe/trunk/tools/c-arcmt-test/Makefile
    cfe/trunk/tools/c-index-test/Makefile
    cfe/trunk/unittests/libclang/Makefile

Modified: cfe/trunk/tools/c-arcmt-test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-arcmt-test/Makefile?rev=241992&r1=241991&r2=241992&view=diff
==============================================================================
--- cfe/trunk/tools/c-arcmt-test/Makefile (original)
+++ cfe/trunk/tools/c-arcmt-test/Makefile Sun Jul 12 07:17:55 2015
@@ -24,13 +24,17 @@ include $(CLANG_LEVEL)/../../Makefile.co
 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 \

Modified: cfe/trunk/tools/c-index-test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/c-index-test/Makefile?rev=241992&r1=241991&r2=241992&view=diff
==============================================================================
--- cfe/trunk/tools/c-index-test/Makefile (original)
+++ cfe/trunk/tools/c-index-test/Makefile Sun Jul 12 07:17:55 2015
@@ -25,13 +25,17 @@ include $(CLANG_LEVEL)/../../Makefile.co
 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 \

Modified: cfe/trunk/unittests/libclang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/libclang/Makefile?rev=241992&r1=241991&r2=241992&view=diff
==============================================================================
--- cfe/trunk/unittests/libclang/Makefile (original)
+++ cfe/trunk/unittests/libclang/Makefile Sun Jul 12 07:17:55 2015
@@ -15,13 +15,17 @@ include $(CLANG_LEVEL)/../../Makefile.co
 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 \





More information about the cfe-commits mailing list