patches/gcc/4.2.1/110-uclibc-conf-noupstream.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 313 2f223aafc7cb
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@313
     1
diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
yann@313
     2
--- gcc-4.2.1.orig/gcc/config.gcc	2007-02-03 06:25:20.000000000 +0100
yann@313
     3
+++ gcc-4.2.1/gcc/config.gcc	2007-08-03 20:29:52.000000000 +0200
yann@313
     4
@@ -1964,7 +1964,7 @@
yann@313
     5
         ;;
yann@313
     6
 sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
yann@313
     7
 sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
yann@313
     8
-  sh-*-linux* | sh[346lbe]*-*-linux* | \
yann@313
     9
+  sh*-*-linux* | sh[346lbe]*-*-linux* | \
yann@313
    10
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
yann@313
    11
    sh64-*-netbsd* | sh64l*-*-netbsd*)
yann@313
    12
 	tmake_file="${tmake_file} sh/t-sh sh/t-elf"