summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libubacktrace/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libubacktrace/Makefile.in b/libubacktrace/Makefile.in
index 2474b1759..fe1fb64ed 100644
--- a/libubacktrace/Makefile.in
+++ b/libubacktrace/Makefile.in
@@ -12,7 +12,7 @@ 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)
+ifeq ($(UCLIBC_HAS_BACKTRACE)$(CONFIG_ARM_EABI),yy)
LIBGCC += $(shell $(CC) -print-file-name=libgcc_eh.a)
endif