mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
Build libLTO on any platform so long as PIC is enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
34509841e7
commit
1281741311
@ -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
|
||||
|
||||
|
@ -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
|
||||
SHARED_LIBRARY = 1
|
||||
DONT_BUILD_RELINKED = 1
|
||||
|
||||
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user