62987 disables LTO build on darwin.
Revert 62987 for now. Nicolas please investigate. llvm-svn: 64285
This commit is contained in:
parent
316705027b
commit
8a9ced15d4
|
|
@ -25,7 +25,8 @@ PARALLEL_DIRS := llvm-config \
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
ifeq ($(ENABLE_PIC),1)
|
# only build new lto project on Darwin for now
|
||||||
|
ifeq ($(OS),Darwin)
|
||||||
PARALLEL_DIRS += lto
|
PARALLEL_DIRS += lto
|
||||||
|
|
||||||
ifdef BINUTILS_INCDIR
|
ifdef BINUTILS_INCDIR
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,12 @@ LIBRARYNAME = LTO
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
LINK_LIBS_IN_SHARED = 1
|
LINK_LIBS_IN_SHARED = 1
|
||||||
SHARED_LIBRARY = 1
|
ifeq ($(OS),Darwin)
|
||||||
DONT_BUILD_RELINKED = 1
|
SHARED_LIBRARY = 1
|
||||||
|
DONT_BUILD_RELINKED = 1
|
||||||
|
else
|
||||||
|
BUILD_ARCHIVE = 1
|
||||||
|
endif
|
||||||
|
|
||||||
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
|
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue