mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
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>
This commit is contained in:
@@ -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/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user