mirror of
https://gitlab.com/signald/libraries/libsignal-client.git
synced 2024-12-04 19:46: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]
|
[build]
|
||||||
|
|
||||||
[target.aarch64-unknown-linux-gnu]
|
[target.aarch64-unknown-linux-gnu]
|
||||||
linker = "clang"
|
linker = "clang-13"
|
||||||
|
|
||||||
[target.arm-unknown-linux-gnueabi]
|
[target.arm-unknown-linux-gnueabi]
|
||||||
linker = "clang"
|
linker = "clang-13"
|
||||||
|
|
||||||
[target.arm-unknown-linux-gnueabihf]
|
[target.arm-unknown-linux-gnueabihf]
|
||||||
linker = "clang"
|
linker = "clang-13"
|
||||||
|
|
||||||
[target.armv7-unknown-linux-gnueabihf]
|
[target.armv7-unknown-linux-gnueabihf]
|
||||||
linker = "clang"
|
linker = "clang-13"
|
||||||
|
|
|
@ -3,7 +3,7 @@ set -exuo pipefail
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|
||||||
PACKAGES=("git" "clang" "libclang-dev" "cmake" "make")
|
PACKAGES=("git" "clang-13" "libclang-dev" "cmake" "make")
|
||||||
case "${TARGET}" in
|
case "${TARGET}" in
|
||||||
aarch64-unknown-linux-gnu|aarch64-unknown-linux-musl)
|
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
|
apt-get install -yq "${PACKAGES[@]}" crossbuild-essential-arm64 # {cpp,g++,gcc}-aarch64-linux-gnu libc-dev-arm64-cross
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
flags="-C link-arg=-s"
|
flags="-C link-arg=-s -C link-arg=-fuse-ld=lld"
|
||||||
|
|
||||||
if [[ "${TARGET}" == *musl ]]; then
|
if [[ "${TARGET}" == *musl ]]; then
|
||||||
flags="${flags} -C target-feature=-crt-static"
|
flags="${flags} -C target-feature=-crt-static"
|
||||||
|
|
Loading…
Reference in a new issue