mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
use -static when cross-compiling tests
This commit is contained in:
parent
503c672d47
commit
9858a12730
@ -22,7 +22,7 @@ init() {
|
|||||||
arm64)
|
arm64)
|
||||||
for p in aarch64-linux-musl aarch64-linux-gnu
|
for p in aarch64-linux-musl aarch64-linux-gnu
|
||||||
do
|
do
|
||||||
cc="$p-gcc -no-pie"
|
cc="$p-gcc -no-pie -static"
|
||||||
qemu="qemu-aarch64"
|
qemu="qemu-aarch64"
|
||||||
if
|
if
|
||||||
$cc -v >/dev/null 2>&1 &&
|
$cc -v >/dev/null 2>&1 &&
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user