[toolchain] add the insight gdb frontend (#4701)
[openwrt/svn-archive/archive.git] / toolchain / insight / patches / 600-fix-compile-flag-mismatch.patch
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
17 ac_unique_file="main.c"
18 -ac_subdirs_all="$ac_subdirs_all doc testsuite"
19 +ac_subdirs_all="$ac_subdirs_all doc"
20 # Factoring default headers for most tests.
21 ac_includes_default="\
22 #include <stdio.h>
23 @@ -3077,7 +3077,7 @@
24
25
26
27 -subdirs="$subdirs doc testsuite"
28 +subdirs="$subdirs doc"
29
30
31 # Provide defaults for some variables set by the per-host and per-target