1Do not add -Werror when --enable-debug is used 2 3Using -Werror causes some problems due to warnings in the SDL_sound 4code, so let's disable it. 5 6We patch configure directly, because: 7 8 1/ configure.in doesn't autoreconf properly out of the box. 9 10 2/ the length of the configure or configure.in patch would be exactly 11 the same (one line), or maybe more for the configure.in patch if 12 we want the package to autoreconf properly 13 14 3/ the patch will never go upstream, because upstream is dead. 15 16Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 17 18Index: b/configure 19=================================================================== 20--- a/configure 21+++ b/configure 22@@ -19561,7 +19561,6 @@ 23 else 24 CFLAGS="-O0" 25 fi 26- CFLAGS="$CFLAGS -Werror" 27 28 cat >>confdefs.h <<\_ACEOF 29 #define DEBUG 1 30