diff options
Diffstat (limited to 'meta')
-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" | |||
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 |
53 | SELECTED_OPTIMIZATION = "" | 53 | # which fixes build path issue in DWARF. |
54 | SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}" | ||
54 | 55 | ||
55 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " | 56 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " |
56 | 57 | ||