summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-03-18 05:01:46 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-20 23:12:31 +0000
commitb9ad80d95e1e3db827b47e9cec42c57fca8c23f1 (patch)
treefe5e20d3050fe3a79794472f58ffe0cc45853958 /meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
parent79850060c35eec0fe04814e530a3f46cb94d7075 (diff)
downloadpoky-b9ad80d95e1e3db827b47e9cec42c57fca8c23f1.tar.gz
valgrind: fix buildpath QA issue
Pass DEBUG_FLAGS to SELECTED_OPTIMIZATION which fixes build path issue in DWARF. [YOCTO #8457] (From OE-Core rev: 7b75303e6df5d685c1b50c53c53af3962d6b3722) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind_3.11.0.bb')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.11.0.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
index e8a235781b..51c88bf7aa 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.11.0.bb
@@ -49,8 +49,9 @@ EXTRA_OEMAKE = "-w"
49 49
50# valgrind likes to control its own optimisation flags. It generally defaults 50# valgrind likes to control its own optimisation flags. It generally defaults
51# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags 51# to -O2 but uses -O0 for some specific test apps etc. Passing our own flags
52# (via CFLAGS) means we interfere with that. 52# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it
53SELECTED_OPTIMIZATION = "" 53# which fixes build path issue in DWARF.
54SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}"
54 55
55CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " 56CFLAGS_append_libc-uclibc = " -D__UCLIBC__ "
56 57