fix(compilation): use cross for statically linking against musl #36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "maximdeclercq/rusty-bever:feat/cross"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +1,7 @@fn main() {This script was required to tell cargo what to link.
@ -0,0 +11,4 @@ENV MAKE="make -j$CORES" \CC="musl-gcc -fPIE -pie -static" \PREFIX=/usr/local/x86_64-linux-musl \RUSTFLAGS="-C relocation-model=static"This flag is important for not using PIC.