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)
1 Give preference to target-optimised functions over glibc's ones,
2 which in turn ahave precedence over generic ones.
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
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 ; \