Files
buildroot/package/ltrace/ltrace.mk
Akhilesh Nema d4a505b175 package/ltrace: bump version to 0.8.1
Release notes:
https://gitlab.com/cespedes/ltrace/-/blob/0.8.1/NEWS
https://gitlab.com/cespedes/ltrace/-/blob/ltrace-0.8.0/NEWS

- Drop the upstreamed 0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch
  1017783268
- Switch site to gitlab

Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-10-11 23:05:45 +02:00

30 lines
1001 B
Makefile

################################################################################
#
# ltrace
#
################################################################################
LTRACE_VERSION = 0.8.1
LTRACE_SITE = $(call gitlab,cespedes,ltrace,$(LTRACE_VERSION))
LTRACE_DEPENDENCIES = elfutils
LTRACE_CONF_OPTS = --disable-werror
LTRACE_LICENSE = GPL-2.0
LTRACE_LICENSE_FILES = COPYING
LTRACE_AUTORECONF = YES
# 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
# Also ltrace with libunwind support is broken for MIPS so we disable it
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_mips)$(BR2_mipsel),)
# --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))