summaryrefslogtreecommitdiff
path: root/config_host.mk.in
diff options
context:
space:
mode:
authorIsmael Luceno <ismael@iodev.co.uk>2021-12-28 12:12:13 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2022-01-06 17:33:15 +0100
commit7c0a4e7ca36b93df4968182f92b3d52fd4d1bb01 (patch)
treef961e527926947e6eb98bf63f532eb58197c81a1 /config_host.mk.in
parentb65a0aadba3cba51c9ec4f543219351dfdb4bb6c (diff)
Add configure test for the backtrace implementation
Improve robustness by testing explicitly; instead of assuming based on the OS, test first the libc and then test for libexecinfo. The assumption was wrong for FreeBSD (included since 2017) and for musl-based systems (not in libc). Also, remove INCLUDE_BACKTRACE and clean up a bit. Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220271 Change-Id: Ib4b7fd4fe2cdf5f76babe47a21bd2990fcf42649 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127538 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit c1be12396088563ed77ed61e54fd4e153469701d) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127767 Reviewed-by: Ismael Luceno <ismael@iodev.co.uk> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'config_host.mk.in')
-rw-r--r--config_host.mk.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in
index e17d3f73cf57..a38458b8c865 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -35,6 +35,8 @@ export AVAHI_CFLAGS=$(gb_SPACE)@AVAHI_CFLAGS@
export AVAHI_LIBS=$(gb_SPACE)@AVAHI_LIBS@
export LIBATOMIC_OPS_CFLAGS=$(gb_SPACE)@LIBATOMIC_OPS_CFLAGS@
export LIBATOMIC_OPS_LIBS=$(gb_SPACE)@LIBATOMIC_OPS_LIBS@
+export BACKTRACE_CFLAGS=@BACKTRACE_CFLAGS@
+export BACKTRACE_LIBS=@BACKTRACE_LIBS@
export BINDIR=@BINDIR@
export BISON=@BISON@
export BOOST_CPPFLAGS=@BOOST_CPPFLAGS@