mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
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
|
STRACE_CONF_OPTS += --without-libunwind
|
||||||
endif
|
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
|
define STRACE_REMOVE_STRACE_GRAPH
|
||||||
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user