fix: static keyfork: build with +crt-static on -crt-static rust
This commit is contained in:
parent
f911d145e8
commit
383bdcb3ab
1 changed files with 1 additions and 2 deletions
|
@ -34,12 +34,11 @@ COPY --from=stagex/binutils . /
|
|||
ENV RUST_BACKTRACE=1
|
||||
ENV NETTLE_STATIC=yes
|
||||
ENV PCSC_LIB_NAME=static=pcsclite
|
||||
ENV RUSTFLAGS='-C codegen-units=1'
|
||||
ENV RUSTFLAGS='-C codegen-units=1 -C target-feature=+crt-static'
|
||||
RUN --network=none \
|
||||
cargo build \
|
||||
--frozen \
|
||||
--release \
|
||||
--features static \
|
||||
--target x86_64-unknown-linux-musl \
|
||||
--bin keyfork
|
||||
|
||||
|
|
Loading…
Reference in a new issue