patches/uClibc/0.9.28.3/100-string-functions.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 18:10:53 2011 +0200 (2011-07-17)
changeset 2890 a59712c236df
parent 6 4267d95819bd
permissions -rw-r--r--
cc/gcc: add host parameter to core compiler build process

Tell the core compiler what host it should run on (instead of
hard-coding runing on CT_HOST).

No functional change so far, switching between CT_HOST and CT_BUILD
will come in a following patch.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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 ; \