mirror of
https://gitlab.com/signald/libraries/libsignal-client.git
synced 2024-12-04 11:36:37 +00:00
clang-13
This commit is contained in:
parent
34f076e188
commit
74e9e7fcbf
3 changed files with 6 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
|||
[build]
|
||||
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
linker = "clang-13"
|
||||
|
||||
[target.arm-unknown-linux-gnueabi]
|
||||
linker = "clang"
|
||||
linker = "clang-13"
|
||||
|
||||
[target.arm-unknown-linux-gnueabihf]
|
||||
linker = "clang"
|
||||
linker = "clang-13"
|
||||
|
||||
[target.armv7-unknown-linux-gnueabihf]
|
||||
linker = "clang"
|
||||
linker = "clang-13"
|
||||
|
|
|
@ -3,7 +3,7 @@ set -exuo pipefail
|
|||
|
||||
apt-get update
|
||||
|
||||
PACKAGES=("git" "clang" "libclang-dev" "cmake" "make")
|
||||
PACKAGES=("git" "clang-13" "libclang-dev" "cmake" "make")
|
||||
case "${TARGET}" in
|
||||
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
|
||||
apt-get install -yq "${PACKAGES[@]}" crossbuild-essential-arm64 # {cpp,g++,gcc}-aarch64-linux-gnu libc-dev-arm64-cross
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
flags="-C link-arg=-s"
|
||||
flags="-C link-arg=-s -C link-arg=-fuse-ld=lld"
|
||||
|
||||
if [[ "${TARGET}" == *musl ]]; then
|
||||
flags="${flags} -C target-feature=-crt-static"
|
||||
|
|
Loading…
Reference in a new issue