diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-02-26 07:56:49 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-02-26 07:56:49 +0000 |
commit | dcd158af278ec19be6d608acb4e358d36903c86f (patch) | |
tree | dc1243fbb6f48062edb839e1228dc27da57d3a44 /tools/lto/Makefile | |
parent | a15dc035a6d4153bece7a067e037e5d6f5d58b16 (diff) | |
download | external_llvm-dcd158af278ec19be6d608acb4e358d36903c86f.zip external_llvm-dcd158af278ec19be6d608acb4e358d36903c86f.tar.gz external_llvm-dcd158af278ec19be6d608acb4e358d36903c86f.tar.bz2 |
Force 'llvm-config' to go first, optionally followed by lto and gold mixed in
with the rest of the parallel directories.
Build lto when possible on all platforms. Make gold to explicitly depend on
libLTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/Makefile')
-rw-r--r-- | tools/lto/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/lto/Makefile b/tools/lto/Makefile index 69014d7..f0f6da7 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -16,12 +16,8 @@ LIBRARYNAME = LTO include $(LEVEL)/Makefile.config LINK_LIBS_IN_SHARED = 1 -ifeq ($(OS),Darwin) - SHARED_LIBRARY = 1 - DONT_BUILD_RELINKED = 1 -else - BUILD_ARCHIVE = 1 -endif +SHARED_LIBRARY = 1 +DONT_BUILD_RELINKED = 1 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter |