patches/gcc/4.3.0/310-uclibc-conf-noupstream.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Dec 09 22:02:20 2008 +0000 (2008-12-09)
changeset 1094 c6a08b4c488c
parent 746 b150d6f590fc
permissions -rw-r--r--
Sanity-check CT_TARGET_VENDOR, CT_TARGET_ALIAS and CT_TARGET_ALIAS_SED_EXPR:
- vendor and alias must not contain spaces
- vendor must not contain dashes '-'
- sed_expr must not generate an alias with a space in it

/trunk/scripts/functions | 17 16 1 0 ++++++++++++++++-
/trunk/config/toolchain.in | 1 1 0 0 +
2 files changed, 17 insertions(+), 1 deletion(-)
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"