gcc 4.2.4 support
[openwrt-10.03/.git] / toolchain / gcc / patches / 4.2.4 / 103-uclibc-conf-noupstream.patch
diff --git a/toolchain/gcc/patches/4.2.4/103-uclibc-conf-noupstream.patch b/toolchain/gcc/patches/4.2.4/103-uclibc-conf-noupstream.patch
new file mode 100644 (file)
index 0000000..83076d4
--- /dev/null
@@ -0,0 +1,13 @@
+Index: gcc-4.2.3/gcc/config.gcc
+===================================================================
+--- gcc-4.2.3.orig/gcc/config.gcc      2007-12-27 10:45:20.000000000 +0100
++++ gcc-4.2.3/gcc/config.gcc   2008-05-21 13:45:43.333288320 +0200
+@@ -1967,7 +1967,7 @@
+         ;;
+ sh-*-elf* | sh[12346l]*-*-elf* | sh*-*-kaos* | \
+ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
+-  sh-*-linux* | sh[346lbe]*-*-linux* | \
++  sh*-*-linux* | sh[346lbe]*-*-linux* | \
+   sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
+    sh64-*-netbsd* | sh64l*-*-netbsd*)
+       tmake_file="${tmake_file} sh/t-sh sh/t-elf"