7bb46aafccbcbe6cb02438d573b12284a120a4f1
[openwrt/openwrt.git] / toolchain / gdb / patches / 120-fix-compile-flag-mismatch.patch
1 --- a/gdb/gdbserver/configure
2 +++ b/gdb/gdbserver/configure
3 @@ -2470,7 +2470,7 @@ $as_echo "$as_me: error: \`$ac_var' was
4 ac_cache_corrupted=: ;;
5 ,);;
6 *)
7 - if test "x$ac_old_val" != "x$ac_new_val"; then
8 + if test "`echo x$ac_old_val`" != "`echo x$ac_new_val`"; then
9 # differences in whitespace do not lead to failure.
10 ac_old_val_w=`echo x $ac_old_val`
11 ac_new_val_w=`echo x $ac_new_val`