patches/gcc/4.2.1/110-uclibc-conf-noupstream.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Tue Jul 12 23:52:24 2011 +0200 (2011-07-12) |
branch | 1.11 |
changeset 2558 |
b7317d2fe0e9 |
parent 313 |
2f223aafc7cb
|
permissions |
-rw-r--r-- |
scripts, cc/gcc: do not fail on existing symlinks or build.log
If the user builds a toolchain over an existing one, so, without removing
CT_PREFIX_DIR, the build fails as the symlinks already exist, as does the
build.log.
This can also happen (for build.log) if the user first ran in download-
or extract-only.
Patch (with no SoB) originally from:
Phil Wilshire <phil.wilshire@overturenetworks.com>
Modified by me as it did not apply cleanly.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 1ebc2248cc60230cd53ff94ae8f8f1e3261461a3)
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"
|