patches/uClibc/0.9.28.3/100-string-functions.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Wed Jun 25 23:33:01 2014 +0200 (2014-06-25)
changeset 3325 069f43a215cc
parent 6 4267d95819bd
permissions -rw-r--r--
all: fix wildcard to work with make-4.x

In make-3.8x, the $(wildacrd) function would sort the entries,
while in make-4.x, it would just return the entries in any
unpredictable order [*]

Use the $(sort) function to get reproducible behaviour.

[*] Well, most probably the roder the entries appear when read
from readdir()

Reported-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
     1 Give preference to target-optimised functions over glibc's ones,
     2 which in turn ahave precedence over generic ones.
     3 
     4 --- uClibc.orig/libc/Makefile	2005-07-20 08:10:44.000000000 +0200
     5 +++ uclibc/libc/Makefile	2005-07-28 13:33:40.000000000 +0200
     6 @@ -59,7 +59,7 @@
     7  	$(AR) dN 2 $(LIBNAME) $$objs && \
     8  	$(AR) dN 2 $(LIBNAME) $$objs
     9  	@for objfile in obj.signal \
    10 -	                obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
    11 +	                obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
    12  	                obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
    13  		if [ -e $$objfile ] ; then \
    14  			echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \