libunwind: update to 1.8.1
[openadk.git] / package / gdb-microblaze / patches / patch-gdb_gdbserver_configure
blobfed862c6b40a64319200b3547c882576acbcb78c
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
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 @@ -5266,7 +5263,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"