[oe-commits] [openembedded-core] 70/82: valgrind: fix buildpath QA issue

git at git.openembedded.org git at git.openembedded.org
Sun Mar 20 07:53:20 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit ca79eaa4ccf61e5ffc9cc278c9424e0d8f4937b2
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Fri Mar 18 05:01:46 2016 -0400

    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/valgrind/valgrind_3.11.0.bb | 5 +++--
 1 file 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 e8a2357..51c88bf 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__ "
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list