llvm.org GIT mirror llvm / 1281741
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 Nick Lewycky 10 years ago
2 changed file(s) with 3 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
2424
2525 include $(LEVEL)/Makefile.config
2626
27 # only build new lto project on Darwin for now
28 ifeq ($(OS),Darwin)
27 ifeq ($(ENABLE_PIC),1)
2928 PARALLEL_DIRS += lto
3029 endif
3130
1515 include $(LEVEL)/Makefile.config
1616
1717 LINK_LIBS_IN_SHARED = 1
18 ifeq ($(OS),Darwin)
19 SHARED_LIBRARY = 1
20 DONT_BUILD_RELINKED = 1
21 else
22 BUILD_ARCHIVE = 1
23 endif
18 SHARED_LIBRARY = 1
19 DONT_BUILD_RELINKED = 1
2420
2521 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
2622