diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-12-15 21:25:48 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:15 +0000 |
commit | 6308c47f2eb10dd801d4cc58e7c315251d131a29 (patch) | |
tree | 6a48b8744c3143402531bb1028eb5dd526852617 /meta | |
parent | 3d19a1e10c52ef2db9ca32302c042267cdac1821 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 2 |
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 | |||
44 | EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}" | 44 | EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS', True) != '32']}" |
45 | EXTRA_OEMAKE = "-w" | 45 | EXTRA_OEMAKE = "-w" |
46 | 46 | ||
47 | CFLAGS_append_libc-uclibc = " -D__UCLIBC__ " | ||
48 | |||
47 | do_install_append () { | 49 | do_install_append () { |
48 | install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ | 50 | install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ |
49 | } | 51 | } |