v1.5 branch refresh based upon upstream master @ c8677ca89e53e3be7988d54280fce166cc894a7e
[librecmc/librecmc.git] / package / devel / gdb-arc / patches / 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`