aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvmc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-04 05:59:09 +0000
committerChris Lattner <sabre@nondot.org>2006-09-04 05:59:09 +0000
commitaea932d27fa41bebaa8576b6002637e74054a7c4 (patch)
tree79307bf652e355249255cdae9ad82c5c2d997f5d /tools/llvmc
parent54eae9e1ec35db90a6f33dd8053c533861771bb6 (diff)
downloadexternal_llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.zip
external_llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.gz
external_llvm-aea932d27fa41bebaa8576b6002637e74054a7c4.tar.bz2
Use LINK_COMPONENTS to specify *components* to link against instead of
using USED_LIBS to specify *libraries* to link against. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc')
-rw-r--r--tools/llvmc/Makefile2
-rw-r--r--tools/llvmc/llvmc.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvmc/Makefile b/tools/llvmc/Makefile
index 2ccf85a..335ac59 100644
--- a/tools/llvmc/Makefile
+++ b/tools/llvmc/Makefile
@@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = llvmc
-USEDLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
+LINK_COMPONENTS = support system
CONFIG_FILES = c cpp ll
EXTRA_DIST = c cpp ll ConfigLexer.cpp.cvs ConfigLexer.l.cvs
REQUIRES_EH := 1
diff --git a/tools/llvmc/llvmc.cpp b/tools/llvmc/llvmc.cpp
index f2e7c1f..3b22149 100644
--- a/tools/llvmc/llvmc.cpp
+++ b/tools/llvmc/llvmc.cpp
@@ -295,7 +295,6 @@ int main(int argc, char **argv) {
if (KeepTemps) flags |= CompilerDriver::KEEP_TEMPS_FLAG;
if (ShowStats) flags |= CompilerDriver::SHOW_STATS_FLAG;
if (TimeActions) flags |= CompilerDriver::TIME_ACTIONS_FLAG;
- if (TimePassesIsEnabled) flags |= CompilerDriver::TIME_PASSES_FLAG;
if (StripOutput) flags |= CompilerDriver::STRIP_OUTPUT_FLAG;
CD->setDriverFlags(flags);