[cfe-dev] RFC: Fix 'make' build in clang/tools/extra
Дмитрий Дьяченко
dimhen at gmail.com
Wed Jan 23 03:07:59 PST 2013
Hi!
Some days ago build in clang/tools/extra start fail
if i understand correctly 3 Makefiles must be adopted to use bitreader
the following fix problem for me Fedora 17/x64, latest trunk
Thanks,
Dmitry
$ pwd
/home/dimhen/src/llvm/tools/clang/tools/extra
$ svn diff -x-p
Index: loop-convert/Makefile
===================================================================
--- loop-convert/Makefile (revision 164013)
+++ loop-convert/Makefile (working copy)
@@ -16,7 +16,7 @@ NO_INSTALL = 1
TOOL_NO_EXPORTS = 1
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
clangRewriteFrontend.a clangRewriteCore.a clangParse.a \
clangSema.a clangAnalysis.a \
Index: remove-cstr-calls/Makefile
===================================================================
--- remove-cstr-calls/Makefile (revision 164013)
+++ remove-cstr-calls/Makefile (working copy)
@@ -16,7 +16,7 @@ NO_INSTALL = 1
TOOL_NO_EXPORTS = 1
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
clangRewriteFrontend.a clangRewriteCore.a \
clangParse.a clangSema.a clangAnalysis.a \
Index: tool-template/Makefile
===================================================================
--- tool-template/Makefile (revision 164013)
+++ tool-template/Makefile (working copy)
@@ -16,7 +16,7 @@ NO_INSTALL = 1
TOOL_NO_EXPORTS = 1
include $(CLANG_LEVEL)/../../Makefile.config
-LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser support mc
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader support mc
USEDLIBS = clangTooling.a clangFrontend.a clangSerialization.a clangDriver.a \
clangRewriteFrontend.a clangRewriteCore.a \
clangParse.a clangSema.a clangAnalysis.a \
More information about the cfe-dev
mailing list