libsignal-client/rustflags.sh
Kyle Copperfield 3779696d1c use clang for all toolchains
Signed-off-by: Kyle Copperfield <kmcopper@danwin1210.de>
2022-11-29 19:50:57 -08:00

8 lines
144 B
Bash
Executable file

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