From 7378ca79b9ecc30ddfbe6d965707f1e4f5ebf792 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Tue, 2 Oct 2018 19:55:11 +0300 Subject: [PATCH] strace: add option to enable libdw stack tracing Fixes build with CONFIG_libdw=y. Signed-off-by: Stijn Tintel --- package/devel/strace/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/devel/strace/Makefile b/package/devel/strace/Makefile index ded6d3bb843c..b1e27f22c3d3 100644 --- a/package/devel/strace/Makefile +++ b/package/devel/strace/Makefile @@ -54,12 +54,18 @@ system calls a program makes while it is running. endef define Package/strace/config +config PACKAGE_strace_libdw + bool "Enable stack tracing support using libdw" + default n config PACKAGE_strace_libunwind bool "Enable stack tracing support using libunwind (experimental)" default n endef -CONFIGURE_ARGS += --with-libunwind=$(if $(CONFIG_PACKAGE_strace_libunwind),yes,no) +CONFIGURE_ARGS += \ + --with-libdw=$(if $(CONFIG_PACKAGE_strace_libdw),yes,no) \ + --with-libunwind=$(if $(CONFIG_PACKAGE_strace_libunwind),yes,no) + MAKE_FLAGS := \ CCOPT="$(TARGET_CFLAGS)" -- 2.30.2