Update dependencies from https://github.com/dotnet/arcade build 20211126.2 (#12732)
[main] Update dependencies from dotnet/arcade
This commit is contained in:
parent
6d8b7083a9
commit
33a8b886da
4 changed files with 13 additions and 15 deletions
|
@ -111,12 +111,10 @@ if [[ -z "$CC" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "$compiler" == "clang" ]]; then
|
||||
if "$CC" -fuse-ld=lld -Wl,--version 2>&1; then
|
||||
# Only lld version >= 9 can be considered stable
|
||||
if [[ "$majorVersion" -ge 9 ]]; then
|
||||
LDFLAGS="-fuse-ld=lld"
|
||||
fi
|
||||
# Only lld version >= 9 can be considered stable
|
||||
if [[ "$compiler" == "clang" && "$majorVersion" -ge 9 ]]; then
|
||||
if "$CC" -fuse-ld=lld -Wl,--version 2>/dev/null; then
|
||||
LDFLAGS="-fuse-ld=lld"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue