From f1505e15812899623d77e40c62a4f66f57957e2d Mon Sep 17 00:00:00 2001 From: Jason Woodward Date: Sat, 11 Jun 2011 01:08:48 -0400 Subject: 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 Signed-off-by: Bernhard Reutner-Fischer --- libubacktrace/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libubacktrace') 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 -- cgit v1.2.3