diff options
Diffstat (limited to 'meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch')
-rw-r--r-- | meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch b/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch new file mode 100644 index 0000000000..f3f7048b8a --- /dev/null +++ b/meta/packages/gcc/gcc-3.4.4/gcc-libgcc2-inhibit-libc.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | --- | ||
2 | gcc/config/i386/linux.h | 2 ++ | ||
3 | 1 file changed, 2 insertions(+) | ||
4 | |||
5 | Index: gcc-3.4.4/gcc/config/i386/linux.h | ||
6 | =================================================================== | ||
7 | --- gcc-3.4.4.orig/gcc/config/i386/linux.h 2008-07-17 23:40:00.000000000 -0700 | ||
8 | +++ gcc-3.4.4/gcc/config/i386/linux.h 2008-07-17 23:40:41.000000000 -0700 | ||
9 | @@ -218,6 +218,7 @@ Boston, MA 02111-1307, USA. */ | ||
10 | /* Do code reading to identify a signal frame, and set the frame | ||
11 | state data appropriately. See unwind-dw2.c for the structs. */ | ||
12 | |||
13 | +#ifndef inhibit_libc | ||
14 | #ifdef IN_LIBGCC2 | ||
15 | /* There's no sys/ucontext.h for some (all?) libc1, so no | ||
16 | signal-turned-exceptions for them. There's also no configure-run for | ||
17 | @@ -282,3 +283,4 @@ Boston, MA 02111-1307, USA. */ | ||
18 | } while (0) | ||
19 | #endif /* not USE_GNULIBC_1 */ | ||
20 | #endif /* IN_LIBGCC2 */ | ||
21 | +#endif | ||