mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 22:11:53 -06:00
configure, meson: move C++ compiler detection to meson.build
The test is slightly weaker than before, because it does not call an extern "C" function from a C source file. However, in practice what we seek to detect is ABI compatibility of the various sanitizer flags, and for that it is enough to compile anything with CC and link it with CXX. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
6d3226357f
commit
b485458e00
3 changed files with 27 additions and 68 deletions
1
scripts/main.c
Normal file
1
scripts/main.c
Normal file
|
@ -0,0 +1 @@
|
|||
int main(void) {}
|
Loading…
Add table
Add a link
Reference in a new issue