diff options
author | Radu Moisan <radu.moisan@intel.com> | 2013-01-22 17:29:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-28 12:29:30 +0000 |
commit | 77eaad86d17c6ee5acddc15ce7d9884b4c73de21 (patch) | |
tree | ee8cf1e6d9b225743105032fb93099e76658f645 /meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch | |
parent | a921ed0bc0a9fd59947858f56594af752ea03acf (diff) | |
download | poky-77eaad86d17c6ee5acddc15ce7d9884b4c73de21.tar.gz |
valgrind: update to 3.8.1
Changed license copyright notice 2011->2012
remove unnecessary patches
built for x86, 86-64, ppc
(From OE-Core rev: df0d23c2bedafd534c5909a65afaf3373d7bc33e)
Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch b/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch new file mode 100644 index 0000000000..4658567b21 --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | The script does not expect use of ccache, hence fix it to recognise it. | ||
2 | |||
3 | 2010/08/17 | ||
4 | Nitin A Kamble <nitin.a.kamble@intel.com> | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Index: valgrind-3.5.0/coregrind/link_tool_exe_linux.in | ||
9 | =================================================================== | ||
10 | --- valgrind-3.5.0.orig/coregrind/link_tool_exe_linux.in | ||
11 | +++ valgrind-3.5.0/coregrind/link_tool_exe_linux.in | ||
12 | @@ -62,6 +62,11 @@ die "Bogus alt-load address" | ||
13 | |||
14 | # The cc invokation to do the final link | ||
15 | my $cc = $ARGV[1]; | ||
16 | +my $next = 2; | ||
17 | +if ("$cc" eq "ccache") { | ||
18 | + $cc = "$cc $ARGV[2]"; | ||
19 | + $next = 3; | ||
20 | +} | ||
21 | |||
22 | # and the 'restargs' are argv[2 ..] | ||
23 | |||
24 | @@ -71,7 +76,7 @@ my $cc = $ARGV[1]; | ||
25 | my $cmd="$cc -static -Wl,-Ttext=$ala"; | ||
26 | |||
27 | # Add the rest of the parameters | ||
28 | -foreach my $n (2 .. $#ARGV) { | ||
29 | +foreach my $n ($next .. $#ARGV) { | ||
30 | $cmd = "$cmd $ARGV[$n]"; | ||
31 | } | ||
32 | |||