aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-02-12 08:31:06 +0000
committerJohn Crispin <john@openwrt.org>2016-02-12 08:31:06 +0000
commit9fbc71c31d840dd6ab4c75d832968aa33962c52c (patch)
treef80f71890f9772d53a4959befa1a14c00b3c8e35 /toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch
parent3392e96647d95fda4cf54ecdb642e859bf0b09e2 (diff)
downloadupstream-9fbc71c31d840dd6ab4c75d832968aa33962c52c.tar.gz
upstream-9fbc71c31d840dd6ab4c75d832968aa33962c52c.tar.bz2
upstream-9fbc71c31d840dd6ab4c75d832968aa33962c52c.zip
toolchain/gdb: update to 7.10.1
Minor bugfix update, released in Dec 2015 https://www.gnu.org/software/gdb/news/ Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 48708
Diffstat (limited to 'toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch')
-rw-r--r--toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch
new file mode 100644
index 0000000000..c8b41f264a
--- /dev/null
+++ b/toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch
@@ -0,0 +1,11 @@
+--- a/gdb/gdbserver/configure
++++ b/gdb/gdbserver/configure
+@@ -2468,7 +2468,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`