summaryrefslogtreecommitdiff
path: root/libubacktrace
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2011-04-29 13:58:02 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-05-04 06:56:14 +0200
commit4916fd889ec1c60710faa528a3ccdb50973198e2 (patch)
tree2e4c6402a1de852f8d3683cf455fe60fa677b202 /libubacktrace
parent408763f32676fa60e74cb202486be4b17a43974e (diff)
libubacktrace: fix backtrace support on arm-eabi, which needs libgcc_eh linked too
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libubacktrace')
-rw-r--r--libubacktrace/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libubacktrace/Makefile.in b/libubacktrace/Makefile.in
index fac684ee6..f75f68b75 100644
--- a/libubacktrace/Makefile.in
+++ b/libubacktrace/Makefile.in
@@ -12,6 +12,10 @@ CFLAGS-libubacktrace := -DNOT_IN_libc -DIS_IN_libubacktrace $(SSP_ALL_CFLAGS)
LDFLAGS-libubacktrace.so := $(LDFLAGS) $(top_builddir)lib/libdl-$(VERSION).so
+ifeq ($(CONFIG_ARM_EABI),y)
+LIBGCC += $(shell $(CC) -print-file-name=libgcc_eh.a)
+endif
+
LIBS-libubacktrace.so := $(LIBS)
libubacktrace_FULL_NAME := libubacktrace-$(VERSION).so