aboutsummaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
parentaece7238c4ebf4d95780df95f1a4743a7fa52ca9 (diff)
downloadqemu-6da5f22b65f7147e1f0bd589cbdb072305a13bb7.zip
qemu-6da5f22b65f7147e1f0bd589cbdb072305a13bb7.tar.gz
qemu-6da5f22b65f7147e1f0bd589cbdb072305a13bb7.tar.bz2
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 'scripts')
0 files changed, 0 insertions, 0 deletions