aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jason Woodward <jason.woodward@timesys.com>2011-06-11 01:08:48 -0400
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-08 09:19:00 +0100
commitc8760c7cf9a149aca981a83cbbb2398acac73f4e (patch)
tree4b0974d6bc4895bff19e422656b9af2235f9c17a
parent022bfbacb9120df78778e5ff66819749729efb34 (diff)
downloaduClibc-c8760c7cf9a149aca981a83cbbb2398acac73f4e.tar.gz
uClibc-c8760c7cf9a149aca981a83cbbb2398acac73f4e.tar.bz2
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>
-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