diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-17 12:38:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-17 12:38:32 +0000 |
commit | 79452344feffbe2944c196b602790ed8451ea44c (patch) | |
tree | 1337a7e3c24cdf12328bb9087149b5ec5144c196 /toolchain/gdb/patches/arc-2015.06-gdb/120-fix-compile-flag-mismatch.patch | |
parent | 331735a357a73c7b8adc205241ac3cc6543d985e (diff) | |
download | mtk-20170518-79452344feffbe2944c196b602790ed8451ea44c.zip mtk-20170518-79452344feffbe2944c196b602790ed8451ea44c.tar.gz mtk-20170518-79452344feffbe2944c196b602790ed8451ea44c.tar.bz2 |
gdb: use separate patches for upstream and ARC gdb
With bump of upstream GDB from 7.9 to 7.10 at least
100-no_extern_inline.patch became incompatible with
ARC gdb (which is still based on upstream 7.9 branch).
So until ARC support is not completely upstreamed
(which we expect to happen in coming months) we'll need to have
separate patches for ARC gdb.
This time clean build-tested for Netgear WNDRMAC & AXS101.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47491
Diffstat (limited to 'toolchain/gdb/patches/arc-2015.06-gdb/120-fix-compile-flag-mismatch.patch')
-rw-r--r-- | toolchain/gdb/patches/arc-2015.06-gdb/120-fix-compile-flag-mismatch.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/arc-2015.06-gdb/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/arc-2015.06-gdb/120-fix-compile-flag-mismatch.patch new file mode 100644 index 0000000..ce34c95 --- /dev/null +++ b/toolchain/gdb/patches/arc-2015.06-gdb/120-fix-compile-flag-mismatch.patch @@ -0,0 +1,11 @@ +--- a/gdb/gdbserver/configure ++++ b/gdb/gdbserver/configure +@@ -2183,7 +2183,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` |