diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-01-26 03:04:57 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-01-26 03:04:57 +0000 |
commit | 12817413113b6d0e33ecedea6723bbd03d2eb012 (patch) | |
tree | 8b104c710136b9db0497b5d7eb4af5b4f707ec0e /tools/lto | |
parent | 34509841e747f155adea8608af727e1a83c35dae (diff) |
Build libLTO on any platform so long as PIC is enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62987 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 69014d781f..f0f6da7191 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 |