diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2021-10-17 21:21:45 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2021-10-17 21:21:45 +0200 |
commit | 9858a12730717d9c5e5deec4264d7041d75fc947 (patch) | |
tree | b0f32dee0f4072b040f3023efe2700bca3efed89 | |
parent | 503c672d47695afe62fdf3439732ec96a68903b0 (diff) | |
download | roux-9858a12730717d9c5e5deec4264d7041d75fc947.tar.gz |
use -static when cross-compiling tests
-rwxr-xr-x | tools/test.sh | 2 |
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 && |