package/strace: enable demangling of C++ symbol names in stack trace
Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
387a362de2
commit
191d3c2b27
@ -18,6 +18,14 @@ else
|
||||
STRACE_CONF_OPTS += --without-libunwind
|
||||
endif
|
||||
|
||||
# Demangling symbols in stack trace needs libunwind and libiberty.
|
||||
ifeq ($(BR2_PACKAGE_BINUTILS)$(BR2_PACKAGE_LIBUNWIND),yy)
|
||||
STRACE_DEPENDENCIES += binutils
|
||||
STRACE_CONF_OPTS += --with-libiberty=check
|
||||
else
|
||||
STRACE_CONF_OPTS += --without-libiberty
|
||||
endif
|
||||
|
||||
define STRACE_REMOVE_STRACE_GRAPH
|
||||
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
||||
endef
|
||||
|
Loading…
Reference in New Issue
Block a user