patches/glibc/2.7/200-alpha-atfcts.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 744 |
4bf8448536d5
|
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@734
|
1 |
--- glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h 2007-08-14 06:21:09.000000000 +0300
|
yann@734
|
2 |
+++ glibc-2.7/sysdeps/unix/sysv/linux/kernel-features.h.new 2008-07-23 07:05:20.000000000 +0300
|
yann@734
|
3 |
@@ -449,8 +449,7 @@
|
yann@734
|
4 |
and on Alpha just after 2.6.22-rc1. */
|
yann@734
|
5 |
#if __LINUX_KERNEL_VERSION >= 0x020611 \
|
yann@734
|
6 |
&& ((!defined __sh__ && !defined __alpha__) \
|
yann@734
|
7 |
- || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__) \
|
yann@734
|
8 |
- || (__LINUX_KERNEL_VERSION >= 0x020617 && defined __alpha__))
|
yann@734
|
9 |
+ || (__LINUX_KERNEL_VERSION >= 0x020613 && defined __sh__))
|
yann@734
|
10 |
# define __ASSUME_ATFCTS 1
|
yann@734
|
11 |
#endif
|
yann@734
|
12 |
|