about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/config.sh b/scripts/config.sh
index 93db4a54a56..b6479e4f696 100644
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -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'