chore: use lld with rust
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -8,6 +8,7 @@ RUN apk add --no-cache \
|
||||
gcc \
|
||||
musl-dev \
|
||||
libgcc \
|
||||
lld \
|
||||
openssl-dev \
|
||||
pkgconfig \
|
||||
make \
|
||||
|
||||
Vendored
+1
-1
@@ -42,7 +42,7 @@ pipeline {
|
||||
GCC = "${GCC_TARGET}-gcc"
|
||||
LINKER_ENV_KEY = getLinkerEnv(TARGET)
|
||||
PATH_CC = "/opt/${GCC_TARGET}-cross/bin:/home/sdk/.cargo/bin"
|
||||
RUSTFLAGS = "-C target-feature=+crt-static"
|
||||
RUSTFLAGS = "-C target-feature=+crt-static -C link-arg=-fuse-ld=lld"
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
Reference in new issue
Block a user