libsignal-client/rustflags.sh
2022-12-19 19:41:44 -08:00

8 lines
169 B
Bash
Executable file

#!/bin/bash
flags="-C link-arg=-s -C link-arg=-fuse-ld=lld"
if [[ "${TARGET}" == *musl ]]; then
flags="${flags} -C target-feature=-crt-static"
fi
echo "${flags}"