diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-02-11 08:44:13 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-02-11 08:44:13 +0000 |
commit | 8746cb6dbdf6d776e81337112e76a0f7fcf080cb (patch) | |
tree | c4ae7dd1e36fcdcf8ae155e674d99eda45cf1adf /tools/lto | |
parent | fc201f33dd4e18edd9675ed7cd36579ccead6f71 (diff) | |
download | external_llvm-8746cb6dbdf6d776e81337112e76a0f7fcf080cb.zip external_llvm-8746cb6dbdf6d776e81337112e76a0f7fcf080cb.tar.gz external_llvm-8746cb6dbdf6d776e81337112e76a0f7fcf080cb.tar.bz2 |
Try this. Darwin -> LTO, PIC -> LTO + possibly gold too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64299 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-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 |