X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=toolchain%2Fgdb%2Fpatches%2F7.10.1%2F120-fix-compile-flag-mismatch.patch;fp=toolchain%2Fgdb%2Fpatches%2F7.10.1%2F120-fix-compile-flag-mismatch.patch;h=c8b41f264a0c2d9d409faafb1dadcc3399e1e385;hp=0000000000000000000000000000000000000000;hb=9fbc71c31d840dd6ab4c75d832968aa33962c52c;hpb=3392e96647d95fda4cf54ecdb642e859bf0b09e2 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`