summaryrefslogtreecommitdiff
path: root/x86_64-linux-musl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64-linux-musl.sh')
-rwxr-xr-xx86_64-linux-musl.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/x86_64-linux-musl.sh b/x86_64-linux-musl.sh
new file mode 100755
index 0000000..0fb15ab
--- /dev/null
+++ b/x86_64-linux-musl.sh
@@ -0,0 +1,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