diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-03-23 12:00:24 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-06-27 10:47:08 -0400 |
commit | 77b894f220cbd04301b3d941df8247106e67f8e4 (patch) | |
tree | 6683924d9769258a5dfe82bb656a517e3bd7b093 /drivers/virtio | |
parent | fe37efba475375caa2dbc71cb06f53f7086277ef (diff) |
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: 0d0ed4006127 ("tools/virtio: enable to build with retpoline")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Message-Id: <20230323040024.3809108-1-peng.fan@oss.nxp.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions