summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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