diff --git a/automation/scripts/build b/automation/scripts/build index 38c48ae6d8..b4edcf010e 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -78,7 +78,9 @@ else fi # Qemu requires Python 3.5 or later, and ninja + # and Clang 10 or later if ! type python3 || python3 -c "import sys; res = sys.version_info < (3, 5); exit(not(res))" \ + || [[ "$cc_is_clang" == y && "$cc_ver" -lt 0x0a0000 ]] \ || ! type ninja; then cfgargs+=("--with-system-qemu=/bin/false") fi