Small change to test script

This commit is contained in:
bjorn3 2020-09-23 18:34:54 +02:00
parent 8a59808b24
commit d68b50efb3
2 changed files with 4 additions and 2 deletions

View file

@ -17,7 +17,9 @@ TARGET_TRIPLE=$HOST_TRIPLE
linker=''
RUN_WRAPPER=''
export JIT_SUPPORTED=1
if [[ "$HOST_TRIPLE" != "$TARGET_TRIPLE" ]]; then
export JIT_SUPPORTED=0
if [[ "$TARGET_TRIPLE" == "aarch64-unknown-linux-gnu" ]]; then
# We are cross-compiling for aarch64. Use the correct linker and run tests in qemu.
linker='-Clinker=aarch64-linux-gnu-gcc'