summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.28.2/000-string-functions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/uClibc/0.9.28.2/000-string-functions.patch')
-rw-r--r--patches/uClibc/0.9.28.2/000-string-functions.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.28.2/000-string-functions.patch b/patches/uClibc/0.9.28.2/000-string-functions.patch
new file mode 100644
index 0000000..ab6c255
--- /dev/null
+++ b/patches/uClibc/0.9.28.2/000-string-functions.patch
@@ -0,0 +1,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 ; \