diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-04 02:16:51 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-04 02:16:51 +0000 |
commit | d08a2fc6fdddcdba4fd0a9806da3b9d878e271a4 (patch) | |
tree | 8f7872ec2a4c9caa4b8bcf80e0ac6b7865ef1647 /sys-devel/gcc | |
parent | digest fix (diff) | |
download | gentoo-2-d08a2fc6fdddcdba4fd0a9806da3b9d878e271a4.tar.gz gentoo-2-d08a2fc6fdddcdba4fd0a9806da3b9d878e271a4.tar.bz2 gentoo-2-d08a2fc6fdddcdba4fd0a9806da3b9d878e271a4.zip |
fix x86 cross-compiling
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch b/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch index 225386ca1316..5a5a0dfb17f4 100644 --- a/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch +++ b/sys-devel/gcc/files/3.4.3/gcc-3.4.3-cross-compile.patch @@ -31,3 +31,18 @@ goto SUCCESS; \ } while (0) +#endif +--- gcc/config/i386/linux.h ++++ gcc/config/i386/linux.h +@@ -218,6 +218,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 +@@ -282,3 +283,4 @@ + } while (0) + #endif /* not USE_GNULIBC_1 */ + #endif /* IN_LIBGCC2 */ ++#endif /* inhibit_libc */ |