update gdb to 7.2
[lede-git/.git] / toolchain / gdb / patches / 600-fix-compile-flag-mismatch.patch
1 Index: openwrt/dl/gdb-7.2/gdb/configure
2 ===================================================================
3 --- gdb-7.2/gdb/configure
4 +++ gdb-7.2/gdb/configure
5 @@ -988,7 +988,7 @@ CPP
6  YACC
7  YFLAGS
8  XMKMF'
9 -ac_subdirs_all='doc testsuite
10 +ac_subdirs_all='doc
11  gdbtk
12  multi-ice
13  gdbserver'
14 @@ -7880,7 +7880,7 @@ fi
15  
16  
17  
18 -subdirs="$subdirs doc testsuite"
19 +subdirs="$subdirs doc"
20  
21  
22  # Check whether to support alternative target configurations
23 Index: openwrt/dl/gdb-7.2/gdb/gdbserver/configure
24 ===================================================================
25 --- gdb-7.2/gdb/gdbserver/configure
26 +++ gdb-7.2/gdb/gdbserver/configure
27 @@ -2151,7 +2151,7 @@ $as_echo "$as_me: error: \`$ac_var' was 
28        ac_cache_corrupted=: ;;
29      ,);;
30      *)
31 -      if test "x$ac_old_val" != "x$ac_new_val"; then
32 +      if test "`echo x$ac_old_val`" != "`echo x$ac_new_val`"; then
33         # differences in whitespace do not lead to failure.
34         ac_old_val_w=`echo x $ac_old_val`
35         ac_new_val_w=`echo x $ac_new_val`