diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-03-18 05:01:46 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-20 22:57:59 +0000 |
commit | 7b75303e6df5d685c1b50c53c53af3962d6b3722 (patch) | |
tree | b2d721baddc58605437b3d7f8b80556b3a3367fa /meta/recipes-devtools | |
parent | cec9ee4d32d96e8717f63268a00888260eae1b30 (diff) | |
download | openembedded-core-7b75303e6df5d685c1b50c53c53af3962d6b3722.tar.gz openembedded-core-7b75303e6df5d685c1b50c53c53af3962d6b3722.tar.bz2 openembedded-core-7b75303e6df5d685c1b50c53c53af3962d6b3722.zip |
valgrind: fix buildpath QA issue
Pass DEBUG_FLAGS to SELECTED_OPTIMIZATION which fixes build
path issue in DWARF.
[YOCTO #8457]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 5 |
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" # valgrind likes to control its own optimisation flags. It generally defaults # to -O2 but uses -O0 for some specific test apps etc. Passing our own flags -# (via CFLAGS) means we interfere with that. -SELECTED_OPTIMIZATION = "" +# (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it +# which fixes build path issue in DWARF. +SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}" CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " |