summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-04-06 03:05:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:43 +0100
commitaf440a00c55c3cc00fb1d7a14ad1a07918d8d2a4 (patch)
tree96eb87b41040c4f2932be5140a05b675a1724c97 /meta/recipes-devtools/valgrind
parent7b0a75741376b23d0b1f7e3c04413cc0301b1903 (diff)
downloadpoky-af440a00c55c3cc00fb1d7a14ad1a07918d8d2a4.tar.gz
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. (From OE-Core rev: e828223a8238d85d47e9314e1dcc30b83b7ba3da) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.12.0.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
index a4a3e72ecd..62a96354cd 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
@@ -56,6 +56,8 @@ EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
56 56
57EXTRA_OEMAKE = "-w" 57EXTRA_OEMAKE = "-w"
58 58
59CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
60
59# valgrind likes to control its own optimisation flags. It generally defaults 61# valgrind likes to control its own optimisation flags. It generally defaults
60# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags 62# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags
61# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it 63# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it