1 --- gdb-7.8.2.orig/gdb/gdbserver/configure 2015-01-15 11:58:12.000000000 +0100
2 +++ gdb-7.8.2/gdb/gdbserver/configure 2016-09-21 10:34:30.013221699 +0200
3 @@ -5250,9 +5250,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON
7 -if test "${ERROR_ON_WARNING}" = yes ; then
8 - WERROR_CFLAGS="-Werror"
11 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
12 -Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
13 @@ -5266,7 +5263,6 @@ $as_echo_n "checking compiler warning fl
14 # compiled with it enabled.
15 for w in ${build_warnings}; do
17 - -Werr*) WERROR_CFLAGS=-Werror ;;
18 *) # Check that GCC accepts it
19 saved_CFLAGS="$CFLAGS"