]> Git Repo - qemu.git/commitdiff
sdl: workaround bug in sdl 2.0.8 headers
authorGerd Hoffmann <[email protected]>
Wed, 7 Mar 2018 15:42:57 +0000 (16:42 +0100)
committerGerd Hoffmann <[email protected]>
Mon, 12 Mar 2018 08:00:34 +0000 (09:00 +0100)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892087

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Message-id: 20180307154258[email protected]

configure

index 356abee025a14eb4755af15a5c27573e8b7224b1..8c7124bf2b6a2ac86df06fcba1b2a5a0d3f8173a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2875,6 +2875,7 @@ if test "$sdl" != "no" ; then
 int main( void ) { return SDL_Init (SDL_INIT_VIDEO); }
 EOF
   sdl_cflags=$($sdlconfig --cflags 2>/dev/null)
+  sdl_cflags="$sdl_cflags -Wno-undef"  # workaround 2.0.8 bug
   if test "$static" = "yes" ; then
     if $pkg_config $sdlname --exists; then
       sdl_libs=$($pkg_config $sdlname --static --libs 2>/dev/null)
This page took 0.043972 seconds and 4 git commands to generate.