crosstool-ng/patches/uClibc/0.9.28.2/000-string-functions.patch
Yann E. MORIN" 1906cf93f8 Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
2007-02-24 11:00:05 +00:00

15 lines
665 B
Diff

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 ; \