@@ -29,7 +29,9 @@ COMPATIBLE_HOST:riscv32 = "null"
# bluez is not enabled by default due to build dependency creep in smaller builds
# like core-image-minimal leading to significantly more tasks being executed
PACKAGECONFIG[bluez] = "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
-PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
+# Stack unwinders - mutually exclusive
+PACKAGECONFIG[libdw] = "--with-libdw,--without-libdw,elfutils,,,libunwind"
+PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind,,,libdw"
EXTRA_OECONF += "--enable-mpers=no --disable-gcc-Werror"
Strace supports two unwinders: libdw and libunwind, but libdw is preferred as a more featureful one. Signed-off-by: Michal Sieron <michal.sieron@nokia.com> --- meta/recipes-devtools/strace/strace_7.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)