We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f041a9e commit 12229cfCopy full SHA for 12229cf
llvm/tools/Makefile
@@ -25,7 +25,8 @@ PARALLEL_DIRS := llvm-config \
25
26
include $(LEVEL)/Makefile.config
27
28
-ifeq ($(ENABLE_PIC),1)
+# only build new lto project on Darwin for now
29
+ifeq ($(OS),Darwin)
30
PARALLEL_DIRS += lto
31
endif
32
llvm/tools/lto/Makefile
@@ -16,8 +16,12 @@ LIBRARYNAME = LTO
16
17
18
LINK_LIBS_IN_SHARED = 1
19
-SHARED_LIBRARY = 1
20
-DONT_BUILD_RELINKED = 1
+ SHARED_LIBRARY = 1
21
+ DONT_BUILD_RELINKED = 1
22
+else
23
+ BUILD_ARCHIVE = 1
24
+endif
LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
0 commit comments