summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Truong <alexandre.truong@arm.com>2021-02-18 12:12:26 +0000
committerDave Watson <dade.watson@gmail.com>2021-03-15 10:44:00 -0700
commit7b498c21029effd85dc1d92cc93ada1d6c373dea (patch)
treee1fb0d05a5a2e6379f6490ff57e4c3cf7001f8e2
parentdebb6128d17b782552d53efa8869a392d1f40a83 (diff)
downloadlibunwind-7b498c21029effd85dc1d92cc93ada1d6c373dea.tar.gz
Update configure.ac to prevent missing symbols
nm shows that those two symbols are undefined, it happens when ./configure --target=host is used and when --enable_debug_frame is set. nm src/.libs/libunwind-aarch64.so.8.0.1 ... U _Uelf64_find_section U _Uelf64_load_debuglink ... This change will prevent build issues until there is remote debug_frame support on arm.
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c6019a0c..9ca0a95c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,6 +265,9 @@ case "${target_arch}" in
(aarch64) enable_debug_frame=yes;;
(*) enable_debug_frame=no;;
esac])
+if test x$remote_only == xyes; then
+ enable_debug_frame=no
+fi
if test x$enable_debug_frame = xyes; then
AC_DEFINE([CONFIG_DEBUG_FRAME], [], [Enable Debug Frame])
fi