diff options
| author | Paolo Bonzini | 2021-10-07 15:08:25 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2021-10-14 09:50:57 +0200 |
| commit | bd87a36709096034bb8e9d12d2bf6ee1d003b6d7 (patch) | |
| tree | b8ddf8b54afcca3c87994df2459b1e385ed513b0 /util | |
| parent | configure: remove obsolete Solaris ar check (diff) | |
| download | qemu-bd87a36709096034bb8e9d12d2bf6ee1d003b6d7.tar.gz qemu-bd87a36709096034bb8e9d12d2bf6ee1d003b6d7.tar.xz qemu-bd87a36709096034bb8e9d12d2bf6ee1d003b6d7.zip | |
configure, meson: move more compiler checks to Meson
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20211007130829.632254-15-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util')
| -rw-r--r-- | util/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build index 779f413c86..05b593055a 100644 --- a/util/meson.build +++ b/util/meson.build @@ -1,5 +1,7 @@ util_ss.add(files('osdep.c', 'cutils.c', 'unicode.c', 'qemu-timer-common.c')) -util_ss.add(when: 'CONFIG_ATOMIC64', if_false: files('atomic64.c')) +if not config_host_data.get('CONFIG_ATOMIC64') + util_ss.add(files('atomic64.c')) +endif util_ss.add(when: 'CONFIG_POSIX', if_true: files('aio-posix.c')) util_ss.add(when: 'CONFIG_POSIX', if_true: files('fdmon-poll.c')) if config_host_data.get('CONFIG_EPOLL_CREATE1') |
