diff --git a/scripts/configure-hypervisor.sh b/scripts/configure-hypervisor.sh index e1d2670b4..70ef47280 100755 --- a/scripts/configure-hypervisor.sh +++ b/scripts/configure-hypervisor.sh @@ -432,7 +432,7 @@ generate_qemu_options() { fi # aarch64 need to explictly set --enable-pie - if [ "${arch}" = "aarch64" ]; then + if [ -z "${static}" ] && [ "${arch}" = "aarch64" ]; then qemu_options+=(arch:"--enable-pie") fi