Revert r64299: it breaks the build when configured
without --enable-pic, like my nightly tester. llvm-svn: 64302
This commit is contained in:
parent
5b3349064d
commit
185fc29820
|
@ -25,11 +25,10 @@ PARALLEL_DIRS := llvm-config \
|
|||
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
# build lto project on Darwin or if PIC is enabled
|
||||
# only build new lto project on Darwin for now
|
||||
ifeq ($(OS),Darwin)
|
||||
PARALLEL_DIRS += lto
|
||||
else ($(ENABLE_PIC),1)
|
||||
PARALLEL_DIRS += lto
|
||||
|
||||
ifdef BINUTILS_INCDIR
|
||||
PARALLEL_DIRS += gold
|
||||
endif
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue