diff options
author | Tanya Lattner <tonic@nondot.org> | 2009-02-20 17:47:45 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2009-02-20 17:47:45 +0000 |
commit | 59825aefbf0766f00161485005fbedd9395ff3b8 (patch) | |
tree | 098cfa0fcd712cb65e260718e858aa1c1c49c166 | |
parent | b0ba5215f6ae7faf412cf42b85ec4ad3fd0eefbc (diff) | |
download | llvm-59825aefbf0766f00161485005fbedd9395ff3b8.tar.gz |
Revert 62987. This is already reverted in mainline.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_25@65125 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/Makefile | 3 | ||||
-rw-r--r-- | tools/lto/Makefile | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile index 909a54843b5d..519717ad98de 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -25,7 +25,8 @@ PARALLEL_DIRS := llvm-config \ include $(LEVEL)/Makefile.config -ifeq ($(ENABLE_PIC),1) +# only build new lto project on Darwin for now +ifeq ($(OS),Darwin) PARALLEL_DIRS += lto endif diff --git a/tools/lto/Makefile b/tools/lto/Makefile index f0f6da7191a2..69014d781ff1 100644 --- a/tools/lto/Makefile +++ b/tools/lto/Makefile @@ -16,8 +16,12 @@ LIBRARYNAME = LTO include $(LEVEL)/Makefile.config LINK_LIBS_IN_SHARED = 1 -SHARED_LIBRARY = 1 -DONT_BUILD_RELINKED = 1 +ifeq ($(OS),Darwin) + SHARED_LIBRARY = 1 + DONT_BUILD_RELINKED = 1 +else + BUILD_ARCHIVE = 1 +endif LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter |