ce34c95b1994c3bda968602b29856990c0ae4c4c
[openwrt/staging/chunkeey.git] / toolchain / gdb / patches / 120-fix-compile-flag-mismatch.patch
1 --- a/gdb/gdbserver/configure
2 +++ b/gdb/gdbserver/configure
3 @@ -2183,7 +2183,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`