summaryrefslogtreecommitdiff
path: root/libubacktrace/Makefile.in
diff options
context:
space:
mode:
authorJason Woodward <jason.woodward@timesys.com>2011-06-11 01:08:48 -0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-08 09:16:15 +0100
commitf1505e15812899623d77e40c62a4f66f57957e2d (patch)
treefab5206ccddf0da9d85aacb36e7940d7f718c409 /libubacktrace/Makefile.in
parent5f1678b1df1153277590b114ccafcf6171923d75 (diff)
libubacktrace: Conditionally link libgcc_eh
When libubacktrace is not enabled there is no need to link in libgcc_eh Fixes bootstrap failures with (gcc-4.5.x) stage1 compilers that --disable-shared Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libubacktrace/Makefile.in')
-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