From 4916fd889ec1c60710faa528a3ccdb50973198e2 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 29 Apr 2011 13:58:02 +0200 Subject: libubacktrace: fix backtrace support on arm-eabi, which needs libgcc_eh linked too Signed-off-by: Henning Heinold Signed-off-by: Carmelo Amoroso --- libubacktrace/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libubacktrace') 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 -- cgit v1.2.3