1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Build libLTO on any platform so long as PIC is enabled.

llvm-svn: 62987
This commit is contained in:
Nick Lewycky 2009-01-26 03:04:57 +00:00
parent aa3510c26a
commit a41f9610fe
2 changed files with 3 additions and 8 deletions

View File

@ -25,8 +25,7 @@ PARALLEL_DIRS := llvm-config \
include $(LEVEL)/Makefile.config
# only build new lto project on Darwin for now
ifeq ($(OS),Darwin)
ifeq ($(ENABLE_PIC),1)
PARALLEL_DIRS += lto
endif

View File

@ -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
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter