600-fix-compile-flag-mismatch.patch 920 B

12345678910111213141516171819202122232425262728293031
  1. --- a/gdb/gdbserver/configure
  2. +++ b/gdb/gdbserver/configure
  3. @@ -1239,7 +1239,7 @@
  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. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  10. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  11. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  12. --- a/gdb/configure
  13. +++ b/gdb/configure
  14. @@ -272,7 +272,7 @@
  15. PACKAGE_BUGREPORT=
  16. ac_unique_file="main.c"
  17. -ac_subdirs_all="$ac_subdirs_all doc testsuite"
  18. +ac_subdirs_all="$ac_subdirs_all doc"
  19. # Factoring default headers for most tests.
  20. ac_includes_default="\
  21. #include <stdio.h>
  22. @@ -3077,7 +3077,7 @@
  23. -subdirs="$subdirs doc testsuite"
  24. +subdirs="$subdirs doc"
  25. # Provide defaults for some variables set by the per-host and per-target