devel/llvm-{cheri,morello}: Add ld symlink
Add an ld -> ld.lld symlink in ${PREFIX}/llvm-{cheri,morello}/bin so that clang finds the linker without adding -fuse-ld=ld.lld.
This commit is contained in:
parent
8796711734
commit
056b4e7ee1
3 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= llvm
|
||||
PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE}
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
PKGNAMESUFFIX= ${LLVM_SUFFIX}
|
||||
|
||||
|
@ -238,6 +238,9 @@ post-install-DOCS-on:
|
|||
${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/
|
||||
${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/
|
||||
|
||||
post-install-LLD-on:
|
||||
${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld
|
||||
|
||||
post-install-LLDB-on:
|
||||
.if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang
|
||||
${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib
|
||||
|
|
|
@ -113,6 +113,7 @@ llvm%%LLVM_SUFFIX%%/bin/dsymutil
|
|||
%%CLANG%%llvm%%LLVM_SUFFIX%%/bin/git-clang-format
|
||||
llvm%%LLVM_SUFFIX%%/bin/hmaptool
|
||||
llvm%%LLVM_SUFFIX%%/bin/intercept-build
|
||||
llvm%%LLVM_SUFFIX%%/bin/ld
|
||||
%%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld.lld
|
||||
%%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld
|
||||
%%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld.darwinnew
|
||||
|
|
|
@ -113,6 +113,7 @@ llvm%%LLVM_SUFFIX%%/bin/dsymutil
|
|||
%%CLANG%%llvm%%LLVM_SUFFIX%%/bin/git-clang-format
|
||||
llvm%%LLVM_SUFFIX%%/bin/hmaptool
|
||||
llvm%%LLVM_SUFFIX%%/bin/intercept-build
|
||||
llvm%%LLVM_SUFFIX%%/bin/ld
|
||||
%%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld.lld
|
||||
%%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld
|
||||
%%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld.darwinnew
|
||||
|
|
Loading…
Reference in a new issue