patches/uClibc/0.9.32/170-Conditionalize-use-libgcc_eh-when-libubacktrace-is-n.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Mar 11 22:11:43 2014 +0100 (2014-03-11)
changeset 3293 e11a8a2e225d
permissions -rw-r--r--
comptools: do not force build of make-3.81 unless really needed

On systems with make-3.82, we forcibly force the build and the use
of make-3.81

But some newer tools break when building with make-3.81. For example,
eglibc-3.18 breaks.

Introduce a new blind options that tools may select if they require
make-3.81. If the system does not have make-3.81, and this option is
selected, then we force the build of make-3.81. Otherwise, we leave
it to the user to decide on his own.

Note that no component selects this option for now. It will come in
later patches as we find them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@2669
     1
From the uClibc ML archives:
yann@2669
     2
    http://lists.uclibc.org/pipermail/uclibc/2011-June/045411.html
yann@2669
     3
yann@2669
     4
>From 364a3a9c576d604bed146efe0b8b33d2b81d4c64 Mon Sep 17 00:00:00 2001
yann@2669
     5
From: Jason Woodward <jason.woodward@timesys.com>
yann@2669
     6
Date: Sat, 11 Jun 2011 01:08:48 -0400
yann@2669
     7
Subject: [PATCH 1/3] Conditionalize use libgcc_eh when libubacktrace is not enabled
yann@2669
     8
yann@2669
     9
Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
yann@2669
    10
---
yann@2669
    11
 libubacktrace/Makefile.in |    2 +-
yann@2669
    12
 1 files changed, 1 insertions(+), 1 deletions(-)
yann@2669
    13
yann@2669
    14
diff --git a/libubacktrace/Makefile.in b/libubacktrace/Makefile.in
yann@2669
    15
index f75f68b..880a8af 100644
yann@2669
    16
--- a/libubacktrace/Makefile.in
yann@2669
    17
+++ b/libubacktrace/Makefile.in
yann@2669
    18
@@ -12,7 +12,7 @@ CFLAGS-libubacktrace := -DNOT_IN_libc -DIS_IN_libubacktrace $(SSP_ALL_CFLAGS)
yann@2669
    19
 
yann@2669
    20
 LDFLAGS-libubacktrace.so := $(LDFLAGS) $(top_builddir)lib/libdl-$(VERSION).so
yann@2669
    21
 
yann@2669
    22
-ifeq ($(CONFIG_ARM_EABI),y)
yann@2669
    23
+ifeq ($(UCLIBC_HAS_BACKTRACE)$(CONFIG_ARM_EABI),yy)
yann@2669
    24
 LIBGCC += $(shell $(CC) -print-file-name=libgcc_eh.a)
yann@2669
    25
 endif
yann@2669
    26
 
yann@2669
    27
-- 
yann@2669
    28
1.7.0.4
yann@2669
    29