diff options
author | 2005-07-10 06:48:50 +0000 | |
---|---|---|
committer | 2005-07-10 06:48:50 +0000 | |
commit | 9c41365fde27deef098c1a99d2a21c24843a7b39 (patch) | |
tree | 8323eadd16fb1a9c11c969c3bca020fbca26630d /sys-devel | |
parent | version bump (diff) | |
download | gentoo-2-9c41365fde27deef098c1a99d2a21c24843a7b39.tar.gz gentoo-2-9c41365fde27deef098c1a99d2a21c24843a7b39.tar.bz2 gentoo-2-9c41365fde27deef098c1a99d2a21c24843a7b39.zip |
fix cross compile for i?86 targets
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch b/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch index 064bc8dd08eb..9fdb5dc0a5b2 100644 --- a/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch +++ b/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch @@ -41,3 +41,18 @@ goto SUCCESS; \ } while (0) +#endif /* inhibit_libc */ +--- gcc/config/i386/linux.h ++++ gcc/config/i386/linux.h +@@ -240,6 +240,7 @@ + /* Do code reading to identify a signal frame, and set the frame + state data appropriately. See unwind-dw2.c for the structs. */ + ++#ifndef inhibit_libc + #ifdef IN_LIBGCC2 + /* There's no sys/ucontext.h for some (all?) libc1, so no + signal-turned-exceptions for them. There's also no configure-run for +@@ -304,3 +305,4 @@ + } while (0) + #endif /* not USE_GNULIBC_1 */ + #endif /* IN_LIBGCC2 */ ++#endif /* inhibit_libc */ |