patches/gcc/4.2.2/110-uclibc-conf-noupstream.patch
author Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Sat Jul 14 19:52:58 2012 +0200 (2012-07-14)
changeset 2998 7b1dda3ab075
parent 431 8bde4c6ea47a
permissions -rw-r--r--
kconfig: fix compatibility with older flex versions

Older flex versions require there be no space between options and
their arguments. For example '-P zconf' is not correct and should
be '-Pzconf'. This is for example the case for flex-2.5.4 shipped
with CentOS 5.8.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <9652ce148bddc1def484.1339241000@beantl019720>
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"