From af489dd9e2983777fa051c7931a8d2770af0461c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 23 Nov 2007 10:02:54 +0000 Subject: gdb: Add missing patch git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3210 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../gdb/files/ignore_whitespace_changes.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 meta/packages/gdb/files/ignore_whitespace_changes.patch (limited to 'meta/packages/gdb/files') diff --git a/meta/packages/gdb/files/ignore_whitespace_changes.patch b/meta/packages/gdb/files/ignore_whitespace_changes.patch new file mode 100644 index 000000000..80480f280 --- /dev/null +++ b/meta/packages/gdb/files/ignore_whitespace_changes.patch @@ -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' -- cgit v1.2.3