From 9858a12730717d9c5e5deec4264d7041d75fc947 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sun, 17 Oct 2021 21:21:45 +0200 Subject: [PATCH] use -static when cross-compiling tests --- tools/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test.sh b/tools/test.sh index 5f3292c..c02b784 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -22,7 +22,7 @@ init() { arm64) for p in aarch64-linux-musl aarch64-linux-gnu do - cc="$p-gcc -no-pie" + cc="$p-gcc -no-pie -static" qemu="qemu-aarch64" if $cc -v >/dev/null 2>&1 &&