summaryrefslogtreecommitdiff
path: root/src/gallium/Automake.inc
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-03-24 16:07:03 -0400
committerRob Clark <robdclark@gmail.com>2017-04-03 11:32:17 -0400
commit70c272004f727457e852ba5f2498754b07a7d995 (patch)
tree2fc0cd52829ae4304dbcfdcbbe1e707d49713fd0 /src/gallium/Automake.inc
parentc3c884c49ce6ab06df2e49aa39abbb051c9959b5 (diff)
gallium/util: libunwind support
It's kinda sad that (a) we don't have debug_backtrace support on !X86 and that (b) we re-invent our own crude backtrace support in the first place. If available, use libunwind instead. The backtrace format is based on what xserver and weston use, since it is nice not to have to figure out a different format. Signed-off-by: Rob Clark <robdclark@gmail.com> Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/Automake.inc')
-rw-r--r--src/gallium/Automake.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc
index a01fa540531..48b5a440674 100644
--- a/src/gallium/Automake.inc
+++ b/src/gallium/Automake.inc
@@ -46,6 +46,7 @@ GALLIUM_TARGET_CFLAGS = \
GALLIUM_COMMON_LIB_DEPS = \
-lm \
+ $(LIBUNWIND_LIBS) \
$(LIBSENSORS_LIBS) \
$(CLOCK_LIB) \
$(PTHREAD_LIBS) \