62987 disables LTO build on darwin.

Revert 62987 for now. Nicolas please investigate.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2009-02-11 02:34:33 +00:00
parent bd75b8345f
commit ca70533d3d
2 changed files with 8 additions and 3 deletions

View File

@ -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
ifdef BINUTILS_INCDIR

View File

@ -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