aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-14 11:47:36 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-15 14:17:26 +0200
commit0aa64508403d3f32c531d769cb78826597305059 (patch)
treea104d756c4ccd46aa2b881a13ce3e1a7d7800e23 /toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
parent0f4a337b31f2d3bc6baf995fad0a5b05b96adeb2 (diff)
downloadupstream-0aa64508403d3f32c531d769cb78826597305059.tar.gz
upstream-0aa64508403d3f32c531d769cb78826597305059.tar.bz2
upstream-0aa64508403d3f32c531d769cb78826597305059.zip
toolchain/gdb: reorganize patch layout
Use ./patches and ./patches-arc instead of version dependent patches. We should have only one main supported version (along with the special case for arc). Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch')
-rw-r--r--toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch b/toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch
new file mode 100644
index 0000000000..d7c8df4fa4
--- /dev/null
+++ b/toolchain/gdb/patches/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`