patches/uClibc/0.9.28.3/100-string-functions.patch
author Titus von Boxberg <titus@v9g.de>
Mon Aug 22 09:41:35 2011 +0200 (2011-08-22)
branch1.12
changeset 2636 d53c6d529923
parent 6 4267d95819bd
permissions -rw-r--r--
configure: fix --with-prog=[...]

check_for didn't set variable 'where' when the path to a prog
was passed manually "(cached)".

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from b1be254591e7b524a0b06a2247a9331ebe0faf1d)
     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 ; \