summaryrefslogtreecommitdiff
path: root/tools/lto/Makefile
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-01-26 03:04:57 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-01-26 03:04:57 +0000
commit12817413113b6d0e33ecedea6723bbd03d2eb012 (patch)
tree8b104c710136b9db0497b5d7eb4af5b4f707ec0e /tools/lto/Makefile
parent34509841e747f155adea8608af727e1a83c35dae (diff)
downloadllvm-12817413113b6d0e33ecedea6723bbd03d2eb012.tar.gz
llvm-12817413113b6d0e33ecedea6723bbd03d2eb012.tar.bz2
llvm-12817413113b6d0e33ecedea6723bbd03d2eb012.tar.xz
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/Makefile')
-rw-r--r--tools/lto/Makefile8
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