summaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-10 19:11:41 +0000
committerJohn Crispin <john@openwrt.org>2016-03-10 19:11:41 +0000
commit7409b5abfe916bc011dafc074c6a26fe82688a9b (patch)
tree59d7e0572803834ae02bd70e7523a1cb028a71c0 /toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch
parent4baaaabca0142c8d1b0986bd8d28bf533095b167 (diff)
downloadmaster-31e0f0ae-7409b5abfe916bc011dafc074c6a26fe82688a9b.tar.gz
master-31e0f0ae-7409b5abfe916bc011dafc074c6a26fe82688a9b.tar.bz2
master-31e0f0ae-7409b5abfe916bc011dafc074c6a26fe82688a9b.zip
toolchain/gdb: Update to 7.11
Update gdb to version 7.11 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48989
Diffstat (limited to 'toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch')
-rw-r--r--toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch
new file mode 100644
index 0000000000..d7c8df4fa4
--- /dev/null
+++ b/toolchain/gdb/patches/7.11/120-fix-compile-flag-mismatch.patch
@@ -0,0 +1,11 @@
+--- a/gdb/gdbserver/configure
++++ b/gdb/gdbserver/configure
+@@ -2520,7 +2520,7 @@ $as_echo "$as_me: error: \`$ac_var' was
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+- if test "x$ac_old_val" != "x$ac_new_val"; then
++ if test "`echo x$ac_old_val`" != "`echo x$ac_new_val`"; then
+ # differences in whitespace do not lead to failure.
+ ac_old_val_w=`echo x $ac_old_val`
+ ac_new_val_w=`echo x $ac_new_val`