Skip to content
Commit 77b894f2 authored by Peng Fan's avatar Peng Fan Committed by Michael S. Tsirkin
Browse files

tools/virtio: fix build break for aarch64



"-mfunction-return=thunk -mindirect-branch-register" are only valid
for x86. So introduce compiler operation check to avoid such issues

Fixes: 0d0ed400 ("tools/virtio: enable to build with retpoline")
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
Message-Id: <20230323040024.3809108-1-peng.fan@oss.nxp.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent fe37efba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment