llvm: Link cross-tools with static libllvm.a
We generally use TOOLS_PREFIX being set to indicate that we are building in the cross-build tools stage. This check was missing for llvm.prog.mk consumers other than *tblgen, which have not previously been built as cross tools. Reviewed by: dim Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D55930
This commit is contained in:
@@ -14,7 +14,7 @@ LIBPRIV=
|
||||
LIBEXT= a
|
||||
.else
|
||||
LIBDEPS+= llvm
|
||||
.if ${MK_LLVM_LINK_STATIC_LIBRARIES} == "yes"
|
||||
.if defined(TOOLS_PREFIX) || ${MK_LLVM_LINK_STATIC_LIBRARIES} == "yes"
|
||||
LIBPRIV=
|
||||
LIBEXT= a
|
||||
.else
|
||||
|
||||
Reference in New Issue
Block a user