patches/gcc/4.3.0/310-uclibc-conf-noupstream.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 03 18:49:23 2009 +0200 (2009-10-03)
changeset 1560 79a609170a83
parent 746 b150d6f590fc
permissions -rw-r--r--
configure: split has_or_abort in two: one to check, one to abort

Split the has_or_abort function in two:
- one that checks if the tool if found,
- one that calls the above check, and aborts if not found

The rational behind this is to be able to check for a tool
and if not found, fallback to using our bundled version,
should the need arise (and I get time).
yann@552
     1
Original patch from gentoo: gentoo/src/patchsets/gcc/4.3.0/uclibc/90_all_103-uclibc-conf-noupstream.patch
yann@552
     2
diff -durN gcc-4.3.0.orig/gcc/config.gcc gcc-4.3.0/gcc/config.gcc
yann@552
     3
--- gcc-4.3.0.orig/gcc/config.gcc	2008-06-10 14:44:51.000000000 +0200
yann@552
     4
+++ gcc-4.3.0/gcc/config.gcc	2008-06-10 14:45:31.000000000 +0200
yann@552
     5
@@ -2142,7 +2142,7 @@
yann@552
     6
         ;;
yann@552
     7
 sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
yann@552
     8
 sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
yann@552
     9
-  sh-*-linux* | sh[346lbe]*-*-linux* | \
yann@552
    10
+  sh*-*-linux* | sh[346lbe]*-*-linux* | \
yann@552
    11
   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
yann@552
    12
    sh64-*-netbsd* | sh64l*-*-netbsd*)
yann@552
    13
 	tmake_file="${tmake_file} sh/t-sh sh/t-elf"