diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2023-01-11 17:31:44 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-01-26 13:25:07 +0100 |
commit | e76ce15db7ea9542fbb962b12a8ac738b57b73cd (patch) | |
tree | fd641ec3ce218f3217c7de3d78330adf803cf55c /meson.build | |
parent | b1032a23edf9c6af2bdfdf8f542f86221a75676b (diff) |
qemu/bswap: Remove <byteswap.h> dependency
Since commit efc6c070aca ("configure: Add a test for the minimum
compiler version") the minimum compiler version required for GCC
is 4.8, which supports __builtin_bswap().
Drop the <byteswap.h> dependency.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230111163147.71761-4-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 6d3b665629..7e15a010bf 100644 --- a/meson.build +++ b/meson.build @@ -2013,8 +2013,6 @@ if rdma.found() endif # has_header_symbol -config_host_data.set('CONFIG_BYTESWAP_H', - cc.has_header_symbol('byteswap.h', 'bswap_32')) config_host_data.set('CONFIG_EPOLL_CREATE1', cc.has_header_symbol('sys/epoll.h', 'epoll_create1')) config_host_data.set('CONFIG_FALLOCATE_PUNCH_HOLE', |