summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-12-15 21:25:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-07 13:40:15 +0000
commit6308c47f2eb10dd801d4cc58e7c315251d131a29 (patch)
tree6a48b8744c3143402531bb1028eb5dd526852617 /meta/recipes-devtools/valgrind
parent3d19a1e10c52ef2db9ca32302c042267cdac1821 (diff)
downloadpoky-6308c47f2eb10dd801d4cc58e7c315251d131a29.tar.gz
valgrind: Define __UCLIBC__ for uclibc based systems
Helps configure valgrind for uclibc targets otherwise it tries to assume funcitons that are implemented in glibc like __free_res (From OE-Core rev: 928973960d1e4d0797fe3569a07f6265368a6aff) Signed-off-by: Khem Raj <raj.khem@gmail.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')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.10.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
index c38a07b310..c1c11d4a36 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb
@@ -44,6 +44,8 @@ EXTRA_OECONF_armv7a = "--enable-tls -host=armv7-none-linux-gnueabi --without-mpi
44EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}" 44EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}"
45EXTRA_OEMAKE = "-w" 45EXTRA_OEMAKE = "-w"
46 46
47CFLAGS_append_libc-uclibc = " -D__UCLIBC__ "
48
47do_install_append () { 49do_install_append () {
48 install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ 50 install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/
49} 51}