summary refs log tree commit diff stats
path: root/python
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-06-05 13:45:23 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-06-06 09:42:15 +0200
commit6da5f22b65f7147e1f0bd589cbdb072305a13bb7 (patch)
tree601fd4a26b9ae8aec41abc9b68262b805ab8b045 /python
parentaece7238c4ebf4d95780df95f1a4743a7fa52ca9 (diff)
downloadfocaccia-qemu-6da5f22b65f7147e1f0bd589cbdb072305a13bb7.tar.gz
focaccia-qemu-6da5f22b65f7147e1f0bd589cbdb072305a13bb7.zip
meson.build: Use -Wno-undef only for SDL2 versions that need it
There is no need to disable this useful compiler warning for
all versions of the SDL. Unfortunately, various versions are
buggy (beside SDL 2.0.8, the version 2.26.0 and 2.26.1 are
broken, too, see https://github.com/libsdl-org/SDL/issues/6619 ),
but we can use a simple compiler check to see whether we need
the -Wno-undef or not.

This also enables the printing of the version number with
good versions of the SDL in the summary of the meson output
again.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230605114523.282987-1-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions