From 928973960d1e4d0797fe3569a07f6265368a6aff Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 15 Dec 2015 21:25:48 +0000 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Ross Burton --- meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta') 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 EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}" EXTRA_OEMAKE = "-w" +CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " + do_install_append () { install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ } -- cgit v1.2.3