diff options
author | Rob Clark <robdclark@gmail.com> | 2017-03-24 16:07:03 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-04-03 11:32:17 -0400 |
commit | 70c272004f727457e852ba5f2498754b07a7d995 (patch) | |
tree | 2fc0cd52829ae4304dbcfdcbbe1e707d49713fd0 /src/gallium/Automake.inc | |
parent | c3c884c49ce6ab06df2e49aa39abbb051c9959b5 (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.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/Automake.inc b/src/gallium/Automake.inc index a01fa54053..48b5a44067 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) \ |