]> git.ipfire.org Git - thirdparty/libvirt.git/commit
meson: Don't build tests when CLang lacks -fsemantic-interposition
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 21 Mar 2023 16:01:34 +0000 (17:01 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 24 Mar 2023 10:15:23 +0000 (11:15 +0100)
commit7944700b40374a0ed33883e75667303f217f7a9c
treeffbd30cb8d3999e3ba2fd4f94b93952b6529aa23
parent7334972c9ad2a85e1f85ccd32934fc16ac67163b
meson: Don't build tests when CLang lacks -fsemantic-interposition

There are some CLang versions that do not support
-fsemantic-interposition. If that's the case, the code is
optimized so much that our mocking no longer works.

Therefore, disable tests and produce a warning.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
meson.build