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