From d0ac419702c94bf2d2eda50b008613bac8149745 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 12 Sep 2016 22:40:46 +0200 Subject: gdb: decouple toolchain and package, add special package for microblaze, looks cleaner to me --- .../patches/patch-gdb_gdbserver_configure | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/gdb-microblaze/patches/patch-gdb_gdbserver_configure (limited to 'package/gdb-microblaze/patches/patch-gdb_gdbserver_configure') diff --git a/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure b/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure new file mode 100644 index 000000000..fb32187b2 --- /dev/null +++ b/package/gdb-microblaze/patches/patch-gdb_gdbserver_configure @@ -0,0 +1,20 @@ +--- gdb-7.6.orig/gdb/gdbserver/configure 2013-03-11 09:35:09.000000000 +0100 ++++ gdb-7.6/gdb/gdbserver/configure 2013-12-23 19:39:06.000000000 +0100 +@@ -4927,9 +4927,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON + fi + + WERROR_CFLAGS="" +-if test "${ERROR_ON_WARNING}" = yes ; then +- WERROR_CFLAGS="-Werror" +-fi + + build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ + -Wformat-nonliteral -Wno-char-subscripts -Wempty-body" +@@ -4943,7 +4940,6 @@ $as_echo_n "checking compiler warning fl + # compiled with it enabled. + for w in ${build_warnings}; do + case $w in +- -Werr*) WERROR_CFLAGS=-Werror ;; + *) # Check that GCC accepts it + saved_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $w" -- cgit v1.2.3