summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2021-10-17 21:21:45 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2021-10-17 21:21:45 +0200
commit9858a12730717d9c5e5deec4264d7041d75fc947 (patch)
treeb0f32dee0f4072b040f3023efe2700bca3efed89
parent503c672d47695afe62fdf3439732ec96a68903b0 (diff)
downloadroux-9858a12730717d9c5e5deec4264d7041d75fc947.tar.gz
use -static when cross-compiling tests
-rwxr-xr-xtools/test.sh2
1 files changed, 1 insertions, 1 deletions
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 &&