738159d8f6
Lots of fixes have been made to ltrace, including the ones for fixing a build failure for MIPS architecture. Updating to current master will allow us to re-enable this package for MIPS and also remove some upstreamed patches. At the same time we add a patch made by Jérôme Pouiller to fix a bug introduced by 5ba9e10 ("Split type definitions from the bundled configs into their own files"). Two new configuration files are not installed. Therefore, ltrace fail with messages like : /usr/share/ltrace/libm.so.conf:333: error: unknown type around 'ldouble erfl(ldouble); That patch has been sent upstream. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# ltrace
|
|
#
|
|
################################################################################
|
|
|
|
LTRACE_VERSION = be0c6870e08a3be43b3a0d210fb8dc7614b1e82f
|
|
LTRACE_SITE = git://anonscm.debian.org/collab-maint/ltrace.git
|
|
LTRACE_DEPENDENCIES = elfutils
|
|
LTRACE_CONF_OPTS = --disable-werror
|
|
LTRACE_LICENSE = GPLv2
|
|
LTRACE_LICENSE_FILES = COPYING
|
|
LTRACE_AUTORECONF = YES
|
|
|
|
define LTRACE_CREATE_CONFIG_M4
|
|
mkdir -p $(@D)/config/m4
|
|
endef
|
|
LTRACE_POST_PATCH_HOOKS += LTRACE_CREATE_CONFIG_M4
|
|
|
|
# ltrace can use libunwind only if libc has backtrace() support
|
|
# We don't normally do so for uClibc and we can't know if it's external
|
|
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
|
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),)
|
|
# --with-elfutils only selects unwinding support backend. elfutils is a
|
|
# mandatory dependency regardless.
|
|
LTRACE_CONF_OPTS += --with-libunwind=yes --with-elfutils=no
|
|
LTRACE_DEPENDENCIES += libunwind
|
|
else
|
|
LTRACE_CONF_OPTS += --with-libunwind=no
|
|
endif
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|