mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
30 lines
1001 B
Makefile
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))
|