summaryrefslogtreecommitdiff
path: root/x86_64-linux-musl.sh
blob: 0fb15ab6daa78b054981ce7c4a992b33726cf7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

export PATH="/opt/cross/x86_64-linux-musl/bin:$PATH"
export HOST=x86_64-musl-linux
export CC=x86_64-linux-musl-gcc
export AR=x86_64-linux-musl-ar
export RANLIB=x86_64-linux-musl-ranlib
export LD=x86_64-linux-musl-ld

export LDFLAGS=-static

exec ./build.sh