diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-04-19 15:22:26 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 10:44:27 +0100 |
commit | aeee3fb46f7b72e0b08e988a3224e4e2b7d85d84 (patch) | |
tree | fb62c17168cd4af1fcdbb186df507f78184edc2c /meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch | |
parent | 722d95cb705a62b607d9798769ec5313138f31cc (diff) | |
download | poky-aeee3fb46f7b72e0b08e988a3224e4e2b7d85d84.tar.gz |
valgrind: upgrade to version 3.6.1
(From OE-Core rev: 85898bb2d60ccf171ead561d05f3742a2cf30c8d)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch b/meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch deleted file mode 100644 index a5c273c45b..0000000000 --- a/meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
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 | Index: valgrind-3.5.0/coregrind/link_tool_exe_linux.in | ||
7 | =================================================================== | ||
8 | --- valgrind-3.5.0.orig/coregrind/link_tool_exe_linux.in | ||
9 | +++ valgrind-3.5.0/coregrind/link_tool_exe_linux.in | ||
10 | @@ -62,6 +62,11 @@ die "Bogus alt-load address" | ||
11 | |||
12 | # The cc invokation to do the final link | ||
13 | my $cc = $ARGV[1]; | ||
14 | +my $next = 2; | ||
15 | +if ("$cc" eq "ccache") { | ||
16 | + $cc = "$cc $ARGV[2]"; | ||
17 | + $next = 3; | ||
18 | +} | ||
19 | |||
20 | # and the 'restargs' are argv[2 ..] | ||
21 | |||
22 | @@ -71,7 +76,7 @@ my $cc = $ARGV[1]; | ||
23 | my $cmd="$cc -static -Wl,-Ttext=$ala"; | ||
24 | |||
25 | # Add the rest of the parameters | ||
26 | -foreach my $n (2 .. $#ARGV) { | ||
27 | +foreach my $n ($next .. $#ARGV) { | ||
28 | $cmd = "$cmd $ARGV[$n]"; | ||
29 | } | ||
30 | |||