[llvm-commits] [llvm] r121969 - /llvm/trunk/tools/Makefile

Daniel Dunbar daniel at zuster.org
Thu Dec 16 07:42:26 PST 2010


Author: ddunbar
Date: Thu Dec 16 09:42:26 2010
New Revision: 121969

URL: http://llvm.org/viewvc/llvm-project?rev=121969&view=rev
Log:
build: Fix ONLY_TOOLS to not build lto etc. unless specified.

Modified:
    llvm/trunk/tools/Makefile

Modified: llvm/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/Makefile?rev=121969&r1=121968&r2=121969&view=diff
==============================================================================
--- llvm/trunk/tools/Makefile (original)
+++ llvm/trunk/tools/Makefile Thu Dec 16 09:42:26 2010
@@ -34,6 +34,7 @@
 
 # These libraries build as dynamic libraries (.dylib /.so), they can only be
 # built if ENABLE_PIC is set.
+ifndef ONLY_TOOLS
 ifeq ($(ENABLE_PIC),1)
   # gold only builds if binutils is around.  It requires "lto" to build before
   # it so it is added to DIRS.
@@ -57,6 +58,7 @@
 ifdef LLVM_HAS_POLLY
   PARALLEL_DIRS += polly
 endif
+endif
 
 # On Win32, loadable modules can be built with ENABLE_SHARED.
 ifneq ($(ENABLE_SHARED),1)





More information about the llvm-commits mailing list