patches/gcc/4.2.2/110-uclibc-conf-noupstream.patch
author |
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> |
|
Mon Jan 05 20:37:03 2009 +0000 (2009-01-05) |
changeset 1124 |
eec7a46a4c19 |
parent 431 |
8bde4c6ea47a
|
permissions |
-rw-r--r-- |
Fix C library addons extraction:
- renaming the dircetory in CT_ExtratAndPatch is wrong:
- patches against the C library addons may be build against the short *or* long name... :-(
- symlink is more robust, even if less nice
- renaming the directory _after_ CT_ExtractAndPatch is too late:
- if patches are against the short name, and we renamed too the long name, patches don't apply
- so we'll never reach the point where we rename
/trunk/scripts/build/libc/glibc.sh | 1 0 1 0 -
/trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/trunk/scripts/functions | 2 1 1 0 +-
3 files changed, 1 insertion(+), 3 deletions(-)
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"
|