add support for gdbserver on AVR32 devices
[openadk.git] / package / gdb / patches / 7.8.2 / patch-gdb_gdbserver_configure
blobfb32187b2cff37d6dddb5ec719039c44790eb556
1 --- gdb-7.6.orig/gdb/gdbserver/configure        2013-03-11 09:35:09.000000000 +0100
2 +++ gdb-7.6/gdb/gdbserver/configure     2013-12-23 19:39:06.000000000 +0100
3 @@ -4927,9 +4927,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON
4  fi
5  
6  WERROR_CFLAGS=""
7 -if test "${ERROR_ON_WARNING}" = yes ; then
8 -    WERROR_CFLAGS="-Werror"
9 -fi
11  build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
12  -Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
13 @@ -4943,7 +4940,6 @@ $as_echo_n "checking compiler warning fl
14      # compiled with it enabled.
15      for w in ${build_warnings}; do
16         case $w in
17 -       -Werr*) WERROR_CFLAGS=-Werror ;;
18         *) # Check that GCC accepts it
19             saved_CFLAGS="$CFLAGS"
20             CFLAGS="$CFLAGS $w"