patches/uClibc/0.9.28.3/100-string-functions.patch
author Andy Gibbs <andyg1001@hotmail.co.uk>
Mon Nov 01 01:12:39 2010 +0100 (2010-11-01)
changeset 2170 4f8aa694f9c0
parent 6 4267d95819bd
permissions -rw-r--r--
contrib: fix gcc test suite on system without echo -e

Fix the use of quotes in contrib/gcc-test-suite/Makefile to solve the
problem where board.exp is incorrectly generated on some build systems
where 'echo -e' is not handled correctly.

Signed-off-by: Andy Gibbs <andyg1001@hotmail.co.uk>
[Yann E. MORIN: fix space damage, pretty-up the stuff]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1
     1
Give preference to target-optimised functions over glibc's ones,
yann@1
     2
which in turn ahave precedence over generic ones.
yann@1
     3
yann@1
     4
--- uClibc.orig/libc/Makefile	2005-07-20 08:10:44.000000000 +0200
yann@1
     5
+++ uclibc/libc/Makefile	2005-07-28 13:33:40.000000000 +0200
yann@1
     6
@@ -59,7 +59,7 @@
yann@1
     7
 	$(AR) dN 2 $(LIBNAME) $$objs && \
yann@1
     8
 	$(AR) dN 2 $(LIBNAME) $$objs
yann@1
     9
 	@for objfile in obj.signal \
yann@1
    10
-	                obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
yann@1
    11
+	                obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
yann@1
    12
 	                obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
yann@1
    13
 		if [ -e $$objfile ] ; then \
yann@1
    14
 			echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \