summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
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:03 +0000
commit928973960d1e4d0797fe3569a07f6265368a6aff (patch)
tree6b140102bdf107ad336e8e8f1d818c829da66118 /meta/recipes-devtools
parentff4f46700a4810fcb49c58978b17af4f52fa9925 (diff)
downloadopenembedded-core-928973960d1e4d0797fe3569a07f6265368a6aff.tar.gz
openembedded-core-928973960d1e4d0797fe3569a07f6265368a6aff.tar.bz2
openembedded-core-928973960d1e4d0797fe3569a07f6265368a6aff.zip
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 <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
-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
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/
}