aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-02-12 08:31:06 +0000
committerJohn Crispin <blogic@openwrt.org>2016-02-12 08:31:06 +0000
commitb8fc680732659ed1c68aee18ce59e1fbc0508478 (patch)
tree81eb38c8e31b9afa6cf44b53664e9ce1c0970767 /toolchain/gdb/patches/7.10.1/120-fix-compile-flag-mismatch.patch
parent85c2fa495a80d302a05589fd2e05728c76c616a2 (diff)
downloadmaster-187ad058-b8fc680732659ed1c68aee18ce59e1fbc0508478.tar.gz
master-187ad058-b8fc680732659ed1c68aee18ce59e1fbc0508478.tar.bz2
master-187ad058-b8fc680732659ed1c68aee18ce59e1fbc0508478.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48708 3c298f89-4303-0410-b956-a3cf2f4a3e73
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`