diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-23 20:21:46 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-12-23 20:21:46 +0100 |
commit | bb3a22f32bf08648263d6977bffc9a2da2eeb640 (patch) | |
tree | 4edb7a88e1cd4e28089dee70e6f5695e326b5a45 | |
parent | 61ee590fc492acbc9f8d4af02b5cdac8e21b964d (diff) |
fix musl compile
-rw-r--r-- | package/gdb/patches/patch-gdb_gdbserver_configure | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/gdb/patches/patch-gdb_gdbserver_configure b/package/gdb/patches/patch-gdb_gdbserver_configure new file mode 100644 index 000000000..fb32187b2 --- /dev/null +++ b/package/gdb/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" |