patch-gdb_gdbserver_configure 710 B

1234567891011121314151617181920
  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. WERROR_CFLAGS=""
  6. -if test "${ERROR_ON_WARNING}" = yes ; then
  7. - WERROR_CFLAGS="-Werror"
  8. -fi
  9. build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
  10. -Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
  11. @@ -4943,7 +4940,6 @@ $as_echo_n "checking compiler warning fl
  12. # compiled with it enabled.
  13. for w in ${build_warnings}; do
  14. case $w in
  15. - -Werr*) WERROR_CFLAGS=-Werror ;;
  16. *) # Check that GCC accepts it
  17. saved_CFLAGS="$CFLAGS"
  18. CFLAGS="$CFLAGS $w"