]> code.ossystems Code Review - openembedded-core.git/commit
valgrind: set ac_cv_path_PERL to /usr/bin/env perl
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 6 Apr 2017 10:05:52 +0000 (03:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:05 +0000 (22:48 +0100)
commite828223a8238d85d47e9314e1dcc30b83b7ba3da
tree8633b565bd29fc27734223b6d9910960476498fa
parent85decf26fe580acdf072baf561418bf73b7bfca4
valgrind: set ac_cv_path_PERL to /usr/bin/env perl

The shebang's max length is usually 128 as defined in
/usr/include/linux/binfmts.h:
  #define BINPRM_BUF_SIZE 128

So there would be errors when /path/to/hosttools/perl is longer than 128.

Set ac_cv_path_PERL to "/usr/bin/env perl" to fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/valgrind/valgrind_3.12.0.bb