patches/uClibc/0.9.28.3/100-string-functions.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 11:32:50 2011 +0800 (2011-11-18)
branch1.13
changeset 2841 64fe22ca6e6f
parent 6 4267d95819bd
permissions -rw-r--r--
cc/gcc: Apply CT_CC_GCC_DISABLE_PCH to do_cc_core.

Otherwise, users have to input --disable-libstdcxx-pch option
when building bare-metal CANADIAN C++ compiler.

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
(transplanted from e3e1c9d45bddfbfb433ee9d583faf42fa31f50c0)
yann@1
     1
Give preference to target-optimised functions over glibc's ones,
yann@1
     2
which in turn ahave precedence over generic ones.
yann@1
     3
yann@1
     4
--- uClibc.orig/libc/Makefile	2005-07-20 08:10:44.000000000 +0200
yann@1
     5
+++ uclibc/libc/Makefile	2005-07-28 13:33:40.000000000 +0200
yann@1
     6
@@ -59,7 +59,7 @@
yann@1
     7
 	$(AR) dN 2 $(LIBNAME) $$objs && \
yann@1
     8
 	$(AR) dN 2 $(LIBNAME) $$objs
yann@1
     9
 	@for objfile in obj.signal \
yann@1
    10
-	                obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
yann@1
    11
+	                obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
yann@1
    12
 	                obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
yann@1
    13
 		if [ -e $$objfile ] ; then \
yann@1
    14
 			echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \