We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03c2d4c + 654c21a commit 11c1ed5Copy full SHA for 11c1ed5
1 file changed
src/Makefile
@@ -24,6 +24,8 @@ OPTIMIZATION?=-O3
24
ifeq ($(OPTIMIZATION),-O3)
25
ifeq (clang,$(CLANG))
26
OPTIMIZATION+=-flto
27
+ # Use llvm-ar for LTO bitcode compatibility when archiving with clang.
28
+ AR=llvm-ar
29
else
30
OPTIMIZATION+=-flto=auto -ffat-lto-objects
31
endif
0 commit comments