patches/gcc/4.2.4/110-uclibc-conf-noupstream.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 12 20:54:54 2010 +0200 (2010-09-12)
changeset 2122 eb837be50f8f
parent 687 b2b6b1d46aa1
permissions -rw-r--r--
cc/gcc: do not force use of non-vital companion libraries

While GMP and MPFR are required by gcc>=4.3 (to build the frontends),
and MPC is required by gcc>=4.5, the other libs are not. If they are
present then gcc will enable advanced features; if they are missing,
then gcc will (should) simply disable those features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@687
     1
diff -durN gcc-4.2.1.orig/gcc/config.gcc gcc-4.2.1/gcc/config.gcc
yann@687
     2
--- gcc-4.2.1.orig/gcc/config.gcc	2007-02-03 06:25:20.000000000 +0100
yann@687
     3
+++ gcc-4.2.1/gcc/config.gcc	2007-08-03 20:29:52.000000000 +0200
yann@687
     4
@@ -1964,7 +1964,7 @@
yann@687
     5
         ;;
yann@687
     6
 sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
yann@687
     7
 sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
yann@687
     8
-  sh-*-linux* | sh[346lbe]*-*-linux* | \
yann@687
     9
+  sh*-*-linux* | sh[346lbe]*-*-linux* | \
yann@687
    10
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
yann@687
    11
    sh64-*-netbsd* | sh64l*-*-netbsd*)
yann@687
    12
 	tmake_file="${tmake_file} sh/t-sh sh/t-elf"