]> code.ossystems Code Review - openembedded-core.git/commitdiff
gdb: Add missing patch
authorRichard Purdie <richard@openedhand.com>
Fri, 23 Nov 2007 10:02:54 +0000 (10:02 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 23 Nov 2007 10:02:54 +0000 (10:02 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3210 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/gdb/files/ignore_whitespace_changes.patch [new file with mode: 0644]

diff --git a/meta/packages/gdb/files/ignore_whitespace_changes.patch b/meta/packages/gdb/files/ignore_whitespace_changes.patch
new file mode 100644 (file)
index 0000000..80480f2
--- /dev/null
@@ -0,0 +1,46 @@
+gdb configure checks CFLAGS haven't changed. Sadly if CFLAGS have a double 
+space in, this gets lost somewhere and convinces gdb the flags have changed.
+Wipe out the test for now...
+
+RP - 23/11/2007
+---
+ gdb/gdbserver/configure |    7 -------
+ gdb/testsuite/configure |    7 -------
+ 2 files changed, 14 deletions(-)
+
+Index: gdb-6.6/gdb/testsuite/configure
+===================================================================
+--- gdb-6.6.orig/gdb/testsuite/configure       2007-11-23 10:25:08.000000000 +0000
++++ gdb-6.6/gdb/testsuite/configure    2007-11-23 10:27:36.000000000 +0000
+@@ -1271,13 +1271,6 @@ echo "$as_me:   current value: $ac_new_v
+     esac
+   fi
+ done
+-if $ac_cache_corrupted; then
+-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+Index: gdb-6.6/gdb/gdbserver/configure
+===================================================================
+--- gdb-6.6.orig/gdb/gdbserver/configure       2007-11-23 10:29:06.000000000 +0000
++++ gdb-6.6/gdb/gdbserver/configure    2007-11-23 10:29:20.000000000 +0000
+@@ -1262,13 +1262,6 @@ echo "$as_me:   current value: $ac_new_v
+     esac
+   fi
+ done
+-if $ac_cache_corrupted; then
+-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'