From: Khem Raj Date: Tue, 15 Dec 2015 21:25:48 +0000 (+0000) Subject: valgrind: Define __UCLIBC__ for uclibc based systems X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27851 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=928973960d1e4d0797fe3569a07f6265368a6aff;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.10.1.bb index c38a07b3102..c1c11d4a36c 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/ }