summaryrefslogtreecommitdiff
path: root/debugger
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-03-13 17:02:12 +0000
committerThomas Wood <thomas.wood@intel.com>2015-03-26 15:50:05 +0000
commit277ca2b992c766581ef6ef01ea210808f456fbe0 (patch)
treed5002e6dba2c2e5287e4eac9c918ba40a096ed63 /debugger
parent2659cbbf643f2fdbf2f9acf8008edd4c6980cd2f (diff)
lib: print a stack trace when a test assertion fails
Add an optional dependency on libunwind to print stack traces when a test assertion fails. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'debugger')
-rw-r--r--debugger/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/debugger/Makefile.am b/debugger/Makefile.am
index f1e49b92..0b6028b4 100644
--- a/debugger/Makefile.am
+++ b/debugger/Makefile.am
@@ -12,6 +12,7 @@ AM_CFLAGS = \
$(DRM_CFLAGS) \
$(PCIACCESS_CFLAGS) \
$(CAIRO_CFLAGS) \
+ $(LIBUNWIND_CFLAGS) \
$(CWARNFLAGS)
-LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS)
+LDADD = $(top_builddir)/lib/libintel_tools.la $(DRM_LIBS) $(PCIACCESS_LIBS) $(CAIRO_LIBS) $(LIBUNWIND_LIBS)