summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.28.2/000-string-functions.patch
blob: ab6c25530fec117e418ba7f6bed47877dfd40c5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Give preference to target-optimised functions over glibc's ones,
which in turn ahave precedence over generic ones.

--- uClibc.orig/libc/Makefile	2005-07-20 08:10:44.000000000 +0200
+++ uclibc/libc/Makefile	2005-07-28 13:33:40.000000000 +0200
@@ -59,7 +59,7 @@
 	$(AR) dN 2 $(LIBNAME) $$objs && \
 	$(AR) dN 2 $(LIBNAME) $$objs
 	@for objfile in obj.signal \
-	                obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
+	                obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
 	                obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
 		if [ -e $$objfile ] ; then \
 			echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \