Remove -Werror from --enable-debugging (fixes #24771)

GCC 8 has better warnings and it breaks the build on platform already
using it and wanting debugging symbols.
This commit is contained in:
Benjamin Dauvergne 2018-07-24 12:38:26 +02:00
parent 62d2f4bff7
commit 50b5cdac87
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ AC_ARG_ENABLE(debugging, [ --enable-debugging enable debuging optimizati
if test "z$enable_debugging" = "zyes" ; then
enable_debugging=yes
LASSO_DEFINES="$LASSO_DEFINES -DLASSO_DEBUG"
CFLAGS="$CFLAGS -O0 -g -Wall -Wextra -Werror"
CFLAGS="$CFLAGS -O0 -g -Wall -Wextra"
else
enable_debugging=no
fi